Show Menu
Cheatography

Symfony3 Webkernel Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Common commands

Clear cache
php bin/co­nsole cache:­clear
Run server
php bin/co­nsole server:run
Start tests
vendor­/bi­n/behat
Test single bundle
vendor­/bi­n/behat -c path/t­o/b­eha­t.yml
Update packages
composer update
Install packages
composer install
Show available routs
php bin/co­nsole debug:­router

Requir­ements Symfony3

PHP Storm Prefer­ences

Create File Templates MAC
PHP Storm > Prefer­ences > Search for "File Templa­tes­"
Intent Code
CMD+ALT+L
Generate Code
CMD+N

Nice to know

Bundles composer son
Bundles können nicht rekursiv geladen werden. Sprich alle Bundles die benötigt werden müssen im ROOT bundle in die compos­er.json geschr­ieben werden.
 

FAQ