Hello everyone!

We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.

If you want to run your test commands with composer, you can follow the example below.


"scripts": {
"cache": [
"rm -rf app/cache/*"
"composer": [
"composer self-update",
"composer install --no-interaction"
"doctrine": [
"php app/doctrine:generate:entities AppBundle --no-backup --env=test",
"php app/doctrine:schema:create --no-interaction --env=test",
"php app/doctrine:schema:update --force --no-interaction --no-debug --env=test"
"fixtures": [
"php doctrine:fixtures:load --no-interaction --no-debug --env=test"
"styling": [
"php app/php-cs-fixer fix --dry-run --verbose -diff"
"behat": [
"php app/behat --suite=app --format=progress"
"security": [
"php app/console security:check"
"tests": [


$ composer security
$ composer styling
$ composer ...
$ composer tests