pierregoudjo / symfony-twelve-factor
The "Symfony Twelve-factor Edition" distribution
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/orm: ^2.5
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0
- symfony/monolog-bundle: ^2.7
- symfony/symfony: ^3.0
- vlucas/phpdotenv: ^2.0
Requires (Dev)
This package is not auto-updated.
Last update: 2020-08-19 04:33:36 UTC
README
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!