/symfony-webapp

Opinionated Composer metapackage for Symfony-based web applications

ISC LicenseISC

Symfony webapp

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.

🚀 Quick start

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

🔍 How it is different

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": "*",

📦 Packages

PackageVersionPackagist
babdev/pagerfanta-bundle^4.4https://packagist.org/packages/babdev/pagerfanta-bundle
pagerfanta/doctrine-orm-adapter^4.6https://packagist.org/packages/pagerfanta/doctrine-orm-adapter
pagerfanta/twig^4.6https://packagist.org/packages/pagerfanta/twig
stof/doctrine-extensions-bundle^1.12https://packagist.org/packages/stof/doctrine-extensions-bundle
symfony/apache-pack*https://packagist.org/packages/symfony/apache-pack
symfony/asset*https://packagist.org/packages/symfony/asset
symfony/debug-pack*https://packagist.org/packages/symfony/debug-pack
symfony/expression-language*https://packagist.org/packages/symfony/expression-language
symfony/form*https://packagist.org/packages/symfony/form
symfony/http-client*https://packagist.org/packages/symfony/http-client
symfony/intl*https://packagist.org/packages/symfony/intl
symfony/mailer*https://packagist.org/packages/symfony/mailer
symfony/maker-bundle^1.0https://packagist.org/packages/symfony/maker-bundle
symfony/mime*https://packagist.org/packages/symfony/mime
symfony/monolog-bundle^3.1https://packagist.org/packages/symfony/monolog-bundle
symfony/notifier*https://packagist.org/packages/symfony/notifier
symfony/orm-pack*https://packagist.org/packages/symfony/orm-pack
symfony/process*https://packagist.org/packages/symfony/process
symfony/profiler-pack*https://packagist.org/packages/symfony/profiler-pack
symfony/security-bundle*https://packagist.org/packages/symfony/security-bundle
symfony/serializer-pack*https://packagist.org/packages/symfony/serializer-pack
symfony/stimulus-bundle*https://packagist.org/packages/symfony/stimulus-bundle
symfony/string*https://packagist.org/packages/symfony/string
symfony/test-pack*https://packagist.org/packages/symfony/test-pack
symfony/translation*https://packagist.org/packages/symfony/translation
symfony/twig-pack*https://packagist.org/packages/symfony/twig-pack
symfony/ux-live-component^2.18https://packagist.org/packages/symfony/ux-live-component
symfony/ux-turbo*https://packagist.org/packages/symfony/ux-turbo
symfony/ux-twig-component^2.18https://packagist.org/packages/symfony/ux-twig-component
symfony/validator*https://packagist.org/packages/symfony/validator
symfony/web-link*https://packagist.org/packages/symfony/web-link
symfony/webpack-encore-bundle^2.1https://packagist.org/packages/symfony/webpack-encore-bundle
twig/cssinliner-extra^3.1https://packagist.org/packages/twig/cssinliner-extra
twig/html-extra^3.10https://packagist.org/packages/twig/html-extra
twig/inky-extra^3.10https://packagist.org/packages/twig/inky-extra
twig/intl-extra^3.10https://packagist.org/packages/twig/intl-extra

Development packages:

PackageVersionPackagist
symfony/debug-pack*https://packagist.org/packages/symfony/debug-pack
symfony/profiler-pack*https://packagist.org/packages/symfony/profiler-pack
symfony/maker-bundle^1.0https://packagist.org/packages/symfony/maker-bundle
symfony/test-pack*https://packagist.org/packages/symfony/test-pack

❤️ Contributing

All types of contributions are encouraged and valued. See the contributing guidelines, the community looks forward to your contributions!

📘 License

Released under the terms of the ISC License.