mister6mik / template-symfony
Mister6mik Symfony template
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.2
- ext-ctype: *
- ext-iconv: *
- doctrine/dbal: ^3
- doctrine/doctrine-bundle: ^2.13
- doctrine/doctrine-migrations-bundle: ^3.3
- doctrine/orm: ^3.3
- phpdocumentor/reflection-docblock: ^5.4
- phpstan/phpdoc-parser: ^1.33
- symfony/asset: 7.1.*
- symfony/asset-mapper: 7.1.*
- symfony/console: 7.1.*
- symfony/doctrine-messenger: 7.1.*
- symfony/dotenv: 7.1.*
- symfony/expression-language: 7.1.*
- symfony/flex: ^2
- symfony/form: 7.1.*
- symfony/framework-bundle: 7.1.*
- symfony/http-client: 7.1.*
- symfony/intl: 7.1.*
- symfony/mailer: 7.1.*
- symfony/mime: 7.1.*
- symfony/monolog-bundle: ^3.0
- symfony/notifier: 7.1.*
- symfony/process: 7.1.*
- symfony/property-access: 7.1.*
- symfony/property-info: 7.1.*
- symfony/runtime: 7.1.*
- symfony/security-bundle: 7.1.*
- symfony/serializer: 7.1.*
- symfony/stimulus-bundle: ^2.21
- symfony/string: 7.1.*
- symfony/translation: 7.1.*
- symfony/twig-bundle: 7.1.*
- symfony/uid: ^7.1
- symfony/ux-icons: ^2.21
- symfony/ux-live-component: ^2.21
- symfony/ux-turbo: ^2.21
- symfony/validator: 7.1.*
- symfony/web-link: 7.1.*
- symfony/yaml: 7.1.*
- symfonycasts/tailwind-bundle: ^0.6.0
- twig/extra-bundle: ^2.12|^3.0
- twig/twig: ^2.12|^3.0
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^3.6
- phpstan/phpstan: ^1.12
- phpstan/phpstan-doctrine: ^1.5
- phpstan/phpstan-symfony: ^1.4
- phpunit/phpunit: ^9.5
- symfony/browser-kit: 7.1.*
- symfony/css-selector: 7.1.*
- symfony/debug-bundle: 7.1.*
- symfony/maker-bundle: ^1.0
- symfony/phpunit-bridge: ^7.1
- symfony/stopwatch: 7.1.*
- symfony/web-profiler-bundle: 7.1.*
Conflicts
README
Installation
composer create-project mister6mik/template-symfony my-new-webapp-project
Specific packages
- Symfony/uid
- Symfonycasts/tailwind-bundle
- symfony/ux-live-component
- symfony/ux-icons
- phpstan/phpstan-symfony
- phpstan/phpstan-doctrine
- symfony/fixures
Configuration
Duplicate .env
to .env.local
and edit it
Customize the following variables:
# Version de l'image PHP-Nginx utilisée pour le service web DOCKER_PHP_NGINX_IMAGE=webdevops/php-nginx:8.3 # Nom du conteneur Web et version de l'image de l'application DOCKER_WEB_CONTAINER_NAME=symfony_web_container DOCKER_WEB_VERSION=latest # Port local pour accéder à l'application Symfony DOCKER_WEB_PORT=8080 # Nom du conteneur de la base de données et version de l'image MySQL DOCKER_DATABASE_CONTAINER_NAME=symfony_mysql_container DOCKER_MYSQL_VERSION=8.0.40 # Configuration de la base de données MySQL DOCKER_MYSQL_PASSWORD=securepassword DOCKER_MYSQL_DATABASE=symfonydb DOCKER_MYSQL_USER=symfonyuser DOCKER_MYSQL_PORT=3306
Build the Docker image
docker-compose up -d --build
Entity configuration preference
bin/console make:entity --with-uuid