Symfony:
Docker:
Nginx:
docker compose up
docker compose up --build # To rebuild the docker stack from scratchdocker compose exec symfony bash # Be careful, move in the `webapp` folder once you are in the shell, to execute composer related commandsphp bin/console make:entity # Create an entity
php bin/console make:entity --api-resource # Create an entity which will be an API Platform resource
php bin/console make:controller # Create a controller
php bin/console make:fixtures # Create a new fixtures file which will populate the database php bin/console make:migration # Create the file
php bin/console doctrine:migration:status # Check the migrations sync status with the database
php bin/console doctrine:migration:migrate # Run migrations
php bin/console doctrine:migration:rollup # Rollup a migration (revert it)php bin/console debug:router # Displays all the routes that are exposed by Symfonyphp bin/console doctrine:database:drop --force # Drop the current database, the `--force` flag is needed
php bin/console doctrine:database:create # Create the databasecomposer require <package> # Install a package
composer require --dev <package> # Install a development package