symfony/framework-bundle

Symfony FrameworkBundle

Official Recipe

Install

composer require symfony/framework-bundle 
9.5M
Total
Downloads
608k
Monthly
Downloads
7.3k
Daily
Downloads
1.8k
Github
Stars
0
Open
Issues

Bundles

  • Symfony\Bundle\FrameworkBundle\FrameworkBundle in all

Copy From Recipe

Environment Variables

  • APP_ENV = dev
  • APP_SECRET = %generate(secret)%
  • #TRUSTED_PROXIES = 127.0.0.1,127.0.0.2
  • #TRUSTED_HOSTS = '^localhost|example\.com$'

Composer Scripts

  • symfony-cmd: cache:clear
  • symfony-cmd: assets:install %PUBLIC_DIR%

.gitignore Additions

/.env.local, /.env.local.php, /.env.*.local, /%PUBLIC_DIR%/bundles/, /%VAR_DIR%/, /vendor/

Versions