- Show all services
./bin/console debug:container --show-private
- show all parameters
./bin/console debug:container --parameters
- show container configuration
./bin/console debug:container monolog.logger
- show logger services
./bin/console debug:container --show-private log
- Current autowiring
./bin/console debug:autowiring --all
- Existing example configuration of
ramework
./bin/console config:dump framework
- Current configuration of
ramework
./bin/console debug:config framework
- Get information about current instance
./bin/console about
- Bundle maker
composer require maker --dev
- Create new database
./bin/console doctrine:database:create
- Create new entity - DTO model
./bin/console make:entity
- Create new migration using model
./bin/console make:migration
- Apply migration
./bin/console doctrine:migrations:migrate
Fixtures:
composer require orm-fixtures --dev
`
- Create fixture class
./bin/console make:fixtures
- Create controller class
./bin/console make:controller
- Load fixtures to DB
./bin/console doctrine:fixtures:load
Fast create new db
bin/console doctrine:database:drop --force
bin/console doctrine:database:create
bin/console doctrine:schema:create
bin/console doctrine:fixtures:load
- Show all config data and all filters
./bin/console debug:twig
- Make Auth entry point
./bin/console make:auth
- Show all router
./bin/console debug:router
- For serializing install package
composer require serializer