What is required?
php: '>=8.0.2'
composer: '>=2'
nodejs: '>=14'
yarn: '>=1.22.17'
docker: '>= 20.10.12'
docker-compose: '>= 1.29.2'
This template is designed for a quick start of enterprise application development based on the symfony framework.
It contains a ready template of administrative panel, main page template, authorization controllers, etc. Uses docker, nginx, php 8, bootstrap 5, stimulus 3
- User locale detection: [App\EventSubscriber\StartupSubscriber]
- Separate entry points and firewalls for the control panel and the user's personal account
- [App\Service\DocumentService] allowing you to add an entry point, set title, description, keywords, etc. A global document variable is available for all twig templates
- ...
yarn install && yarn build
# or
npm install && npm run build
make build && make start
# or
docker-compose build && docker-compose up -d
# then
make cache-clear (docker exec -it php-fpm php bin/console cache:clear) or go to homepage: http://127.0.0.1:8000
make schema-update
# or
docker exec -it php-fpm php bin/console doctrine:schema:update --force
make fixtures
# or
docker exec -it php-fpm php bin/console doctrine:fixtures:load
http://127.0.0.1:8000 - homepage
http://127.0.0.1:8080 - database control panel
http://127.0.0.1:8000/dashboard - control panel [user: [email protected], password: admin_]
http://127.0.0.1:8000/account - user's personal account [user: [email protected], password: user_]