Opinionated Composer metapackage for Symfony-based web applications.
Why? Because modern web applications often require Webpack, the use of Symfony UX live components, sending HTML emails, pagination of results, and more.
In a minimal Symfony installation:
composer require gremo/symfony-webapp
See Creating Symfony Applications to create a new (minimal) Symfony application.
If you are not using Symfony CLI:
curl -O https://raw.githubusercontent.com/symfony/skeleton/7.1/composer.json
composer install
Here are the differences between the Symfony webapp
metapackage and this project:
@@ -1,13 +1,16 @@
{
- "name": "symfony/webapp-pack",
+ "name": "gremo/symfony-webapp",
"type": "symfony-pack",
"license": "MIT",
- "description": "A webapp pack on top of the default skeleton",
+ "description": "Opinionated Composer metapackage for Symfony-based web applications",
"require": {
+ "babdev/pagerfanta-bundle": "^4.4",
+ "pagerfanta/doctrine-orm-adapter": "^4.6",
+ "pagerfanta/twig": "^4.6",
+ "stof/doctrine-extensions-bundle": "^1.12",
+ "symfony/apache-pack": "*",
"symfony/asset": "*",
- "symfony/asset-mapper": "*",
"symfony/debug-pack": "*",
- "symfony/doctrine-messenger": "*",
"symfony/expression-language": "*",
"symfony/form": "*",
"symfony/http-client": "*",
@@ -27,9 +30,16 @@
"symfony/test-pack": "*",
"symfony/translation": "*",
"symfony/twig-pack": "*",
+ "symfony/ux-live-component": "^2.18",
"symfony/ux-turbo": "*",
+ "symfony/ux-twig-component": "^2.18",
"symfony/validator": "*",
- "symfony/web-link": "*"
+ "symfony/web-link": "*",
+ "symfony/webpack-encore-bundle": "^2.1",
+ "twig/cssinliner-extra": "^3.1",
+ "twig/html-extra": "^3.10",
+ "twig/inky-extra": "^3.10",
+ "twig/intl-extra": "^3.10"
},
"require-dev": {
"symfony/debug-pack": "*",
Development packages:
Package | Version | Packagist |
---|---|---|
symfony/debug-pack | * | https://packagist.org/packages/symfony/debug-pack |
symfony/profiler-pack | * | https://packagist.org/packages/symfony/profiler-pack |
symfony/maker-bundle | ^1.0 | https://packagist.org/packages/symfony/maker-bundle |
symfony/test-pack | * | https://packagist.org/packages/symfony/test-pack |
All types of contributions are encouraged and valued. See the contributing guidelines, the community looks forward to your contributions!
Released under the terms of the ISC License.