2017 © Pedro Peláez
 

project symfony-minimal-edition

image

qb/symfony-minimal-edition

  • Monday, March 28, 2016
  • by quentinb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Symfony Minimal Edition

This is the Symfony Minimal Edition - a minimally-functional Symfony application that you can use as the skeleton for your new applications., (*1)

The Symfony Minimal Edition uses the package vlucas/phpdotenv to add Twelve Factor app compatibility, simplyfing configuration. This allows to get rid of the different front controller files based on environment., (*2)

Add your application configuration to a .env file in the root of your project containing key-value pairs of environment variables :, (*3)

SYMFONY_ENV=dev
SYMFONY_DEBUG=1
SYMFONY__SECRET=ThisTokenIsNotSoSecretChangeIt
SYMFONY__MONOLOG_ACTION_LEVEL=debug

Note: Symfony will grab any environment variable prefixed with SYMFONY__ and set it as a parameter in the service container. For details see How to Set external Parameters in the Service Container chapter of the Symfony Documentation., (*4)

What's inside?

The Symfony Minimal Edition is configured with the following defaults:, (*5)

  • An AppBundle you can use to start coding;, (*6)

  • Twig as the only configured template engine;, (*7)

It comes pre-configured with the following bundles:, (*8)

  • FrameworkBundle - The core Symfony framework bundle, (*9)

  • TwigBundle - Adds support for the Twig templating engine, (*10)

  • MonologBundle - Adds support for Monolog, a logging library, (*11)

  • WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar, (*12)

  • DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration, (*13)

Installation

Use Composer to create a new application:, (*14)

composer create-project qb/symfony-minimal-edition path/to/install "v1.0.1", (*15)

Credits

The Versions