PHPackages                             netpromotion/symfony-up - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. netpromotion/symfony-up

ActiveLibrary[Framework](/categories/framework)

netpromotion/symfony-up
=======================

Up your Symfony App!

v2.0.0(7y ago)0826[1 PRs](https://github.com/netpromotion/symfony-up/pulls)MITPHPPHP &gt;=7.1

Since Jun 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/netpromotion/symfony-up)[ Packagist](https://packagist.org/packages/netpromotion/symfony-up)[ Docs](https://netpromotion.github.io/symfony-up/)[ RSS](/packages/netpromotion-symfony-up/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (12)Versions (19)Used By (0)

Symfony Up!
===========

[](#symfony-up)

Up your Symfony App!

Getting started
---------------

[](#getting-started)

Run `composer require netpromotion/symfony-up` and optionally `./vendor/bin/symfony-up` which creates following files:

### `.env.dist`

[](#envdist)

```
# This file is a "template" of which env vars need to be defined for your application
# Copy this file to .env file for development, create environment variables when deploying to production
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

###> symfony/framework-bundle ###
APP_ENV='dev'
APP_SECRET='ThisIsNotSoSecretChangeIt'
#TRUSTED_PROXIES='127.0.0.1,127.0.0.2'
#TRUSTED_HOSTS='localhost,example.com'
###< symfony/framework-bundle ###
```

### `config/packages/framework.yaml`

[](#configpackagesframeworkyaml)

```
framework:
  # secret is commonly used to add more entropy to security related operations
  secret: '%env(APP_SECRET)%'

  # session.save_path is the path where the session files are created
  session:
    save_path: '%kernel.project_dir%/var/session/%kernel.environment%'

  # http_method_override determines whether the _method request parameter is used as the intended HTTP method on POST requests
  http_method_override: true

  # php_errors.log determines whether application logger is used instead of the PHP logger for logging PHP errors
  php_errors:
    log: true
```

### `config/packages/test/framework.yaml`

[](#configpackagestestframeworkyaml)

```
framework:
  # test determines whether the services are related to testing your application
  test: true
```

### `config/bundles.php`

[](#configbundlesphp)

```
