wms/symfony-wms-edition

Wolf Microsystems' Symfony2 Framework distribution

Installs: 65

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1 129

Type:project


README

Welcome to the Symfony WMS Edition - a fully-functional Symfony application that you can use as the skeleton for your new applications.

For details on how to download and get started with Symfony, see the Installation chapter of the Symfony Documentation.

Differences between the Standard and WMS Edition

Symfony WMS Edition is a modified version of the Standard Symfony2 distribution. Here is an overview of the differences between the Standard Edition and the WMS Edition

  • Environment infered from ENV variables
    Symfony WMS Edition uses a system environment variable to determine the correct AppKernel environment. Please refer to this document for information on how to configure your environment.

  • DoctrineMigrationsBundle included
    In order to simplify the initial setup process, this version of Symfony comes preconfigured with the DoctrineMigrationsBundle.

Setting the Application Environment

To modify the environment used by Symfony, you need to set the APPLICATION_ENV (or APP_ENV for Amazon EC2 instance). Please refer to your web server and OS documentation on how to set an environment variable.

If is also possible to use Apache httpd's mod_env module to set the environment variable. Such configuration would look like this in your httpd.conf file:

<Directory "/path/to/symfony/">
    SetEnv APPLICATION_ENV "dev"
</Directory>

What's inside?

The Symfony WMS Edition is configured with the following defaults:

  • An AppBundle you can use to start coding;

  • Twig as the only configured template engine;

  • Doctrine ORM/DBAL (including Migrations);

  • Swiftmailer;

  • Annotations enabled for everything.

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

  • DoctrineMigrationsBundle - Adds support for database migrations using Doctrine

  • TwigBundle - Adds support for the Twig templating engine

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

  • SwiftmailerBundle - Adds support for Swiftmailer, a library for sending emails

  • MonologBundle - Adds support for Monolog, a logging library

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

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

  • SensioGeneratorBundle (in dev/test env) - Adds code generation capabilities

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

All libraries and bundles included in the Symfony WMS Edition are released under the MIT or BSD license.

Enjoy!