This is a draft cheat sheet. It is a work in progress and is not finished yet.
Common commands
Clear cache |
php bin/console cache:clear |
Run server |
php bin/console server:run |
Start tests |
vendor/bin/behat |
Test single bundle |
vendor/bin/behat -c path/to/behat.yml |
Update packages |
composer update |
Install packages |
composer install |
Show available routs |
php bin/console debug:router |
Requirements Symfony3
PHP 5.6 via Homebrew |
|
FIX date.time zone in php.ini |
|
MYSQL Installation |
|
MYSQL Variable in PATH |
|
Set Password in MYSQL for root via terminal |
|
PHP Storm Preferences
Create File Templates MAC |
PHP Storm > Preferences > Search for "File Templates" |
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 composer.json geschrieben werden. |
|
|
|