mlcrm / starter
Starter A
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.0.2
- ext-ctype: *
- ext-iconv: *
- composer/package-versions-deprecated: 1.11.99.4
- doctrine/annotations: ^1.0
- doctrine/doctrine-bundle: ^2.5
- doctrine/doctrine-fixtures-bundle: ^3.4
- doctrine/doctrine-migrations-bundle: ^3.2
- doctrine/orm: ^2.10
- phpdocumentor/reflection-docblock: ^5.3
- sensio/framework-extra-bundle: ^6.1
- symfony/asset: 6.0.*
- symfony/console: 6.0.*
- symfony/dotenv: 6.0.*
- symfony/expression-language: 6.0.*
- symfony/flex: ^2
- symfony/form: 6.0.*
- symfony/framework-bundle: 6.0.*
- symfony/http-client: 6.0.*
- symfony/intl: 6.0.*
- symfony/mailer: 6.0.*
- symfony/mime: 6.0.*
- symfony/monolog-bundle: ^3.1
- symfony/notifier: 6.0.*
- symfony/process: 6.0.*
- symfony/property-access: 6.0.*
- symfony/property-info: 6.0.*
- symfony/proxy-manager-bridge: 6.0.*
- symfony/runtime: 6.0.*
- symfony/security-bundle: 6.0.*
- symfony/serializer: 6.0.*
- symfony/string: 6.0.*
- symfony/translation: 6.0.*
- symfony/twig-bundle: 6.0.*
- symfony/validator: 6.0.*
- symfony/web-link: 6.0.*
- symfony/webpack-encore-bundle: ^1.12
- symfony/yaml: 6.0.*
- twig/extra-bundle: ^2.12|^3.0
- twig/twig: ^2.12|^3.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- symfony/browser-kit: 6.0.*
- symfony/css-selector: 6.0.*
- symfony/debug-bundle: 6.0.*
- symfony/maker-bundle: ^1.0
- symfony/phpunit-bridge: ^6.0
- symfony/stopwatch: 6.0.*
- symfony/web-profiler-bundle: 6.0.*
Conflicts
README
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
The following functionality is implemented in the template
- 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
- ...
For a quick start, run the following commands:
1. Install the javascript dependencies and run build:
yarn install && yarn build # or npm install && npm run build
2. Build and run a docker container
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
3. Update database schema
make schema-update # or docker exec -it php-fpm php bin/console doctrine:schema:update --force
4. Add the system administrator and user to the database
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: admin@example.com, password: admin_]
http://127.0.0.1:8000/account - user's personal account [user: user@example.com, password: user_]