https://symfonycasts.com/screencast/symfony4/micro-app-phpstorm#play
composer create-project symfony/skeleton the_spacebar
git init
php -S 127.0.0.1:8000 -t public
composer require server
This fails because the bundle is discouraged. Use the following instead!
symfony server:start
- Symfony Support
- Php Annotations
- Enable Symfony Support Plugin
- Configure Composer!
Symfony app is a small route controller system
composer require sec-checker
Flex is a Composer plugin:
- alias system
- recipes
run the security checker. this is done through the recipies
./bin/console security:check
in the Git-Bash
composer require twig
Bundles are the plugin system for Symfony.
Extend a base class to render a template!
{{ something }}
{% if () %}
{# #}
composer require profiler --dev
A very handy tool to dump debug information is:
dump($slug, $this)
in the controller action.
Packs have a darkside --> versioning!
Adjust the web directory of the Symfony plugin in PhpStorm
so that it contains 'public'.
Run ./bin/console debug:autowiring