Install php-text-template via Composer
mainYou can add php-text-template to your project using Composer.
To add it as a standard project dependency, use:
composer require phpunit/php-text-template
If you only require the library for development purposes (e.g., for running a test suite), add it as a development-time dependency using the --dev flag.
composer require phpunit/php-text-template