frian/console-utils-bundle

some utilities for the Symfony command line

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2017-03-30 16:00 UTC

This package is auto-updated.

Last update: 2025-06-08 08:37:46 UTC


README

some utilities for the Symfony command line

Commands

utils:doctrine:recreate

The utils:doctrine:recreate recreates the database and loads fixtures:

php bin/console utils:doctrine:recreate

For compatibility reasons you have to specifiy the --force option:

php bin/console utils:doctrine:recreate --force

You can use the --fixtures option from doctrine:fixtures:load

You can use the --em option from doctrine:fixtures:load and doctrine:schema:create

You can use the --connection option from doctrine:database:create and doctrine:database:drop

utils:doctrine:test WIP

The utils:doctrine:test executes phpunit tests on a recreated database:

php bin/console utils:doctrine:test

For compatibility reasons you have to specifiy the --force option:

php bin/console utils:doctrine:test --force

You can use the --fixtures option from doctrine:fixtures:load

You can use the --testsuite option from phpunit