pierregoudjo/symfony-twelve-factor

This package is abandoned and no longer maintained. No replacement package was suggested.

The "Symfony Twelve-factor Edition" distribution

dev-master 2016-01-17 23:13 UTC

This package is not auto-updated.

Last update: 2020-08-19 04:33:36 UTC


README

Codeship Status for pierregoudjo/symfony-twelve-factor-edition Codacy Badge

Welcome to the Symfony Twelve-Factor Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications. It is ispired by the Twelve-Factor Manifesto by Heroku and Benjamin Eberlei article on configuring a minimal Symfony distribution.

What's inside?

The Symfony Twelve-Factor Edition is configured with the following defaults:

  • An AppBundle you can use to start coding;

  • Doctrine ORM/DBAL;

  • Annotations enabled for everything.

  • Logs sent to STDOUT

  • A .env.example file that contains an example of configuration variables. (You can rename it as .env if you want to load the environment from a file)

  • A simple Vagrantfile with some shell provisioning to install PHP/NGINX and the default config to make symfony works like a breeze

It comes pre-configured with the following bundles:

  • FrameworkBundle - The core Symfony framework bundle

  • SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability

  • DoctrineBundle - Adds support for the Doctrine ORM

  • SecurityBundle - Adds security by integrating Symfony's security component

  • MonologBundle - Adds support for Monolog, a logging library

  • SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions

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

How to set it up

Launch the app, you must:

  • Set the configuration variables of your app (via a .env file or for example SetEnv in Apache)

Enjoy!