1 min readJan 5, 2019
Nice article!
You don’t have a need to set an alias to run PHPUnit.
You can define a command in composer file as follows:
// composer.json
{
...
"scripts": {
"test": "vendor/bin/phpunit"
}
...}
and run the “test” command in the terminal.