- Installing
git clone git@github.com:alexbrouwer/s2-zero-app.git
php composer.phar install
HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/logs
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/logs
Defaults:
- Twig is the only configured template engine;
- Doctrine ORM/DBAL is configured;
- Swiftmailer is configured;
- Annotations for everything are enabled.
- Translations are turned on
- Both REST and 'normal' routes are supported
- REST data can be serialized to JSON (default) or XML
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
- 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
- AsseticBundle - Adds support for Assetic, an asset processing 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
- FOSRestBundle - Adds REST API capabilities
- BazingaRestExtraBundle - Adds additional features for REST API
- JMSSerializerBundle - Adds serialization capabilities
- NelmioApiDocBundle - Rest API documentation generation
- AlexAsseticExtraBundle - Automatically move assets (not css/js) to a custom folder and adapt css file accordingly
- DoctrineFixturesBundle (in dev/test env) - Provides Data fixtures for testing purposes
- WebProfilerExtraBundle (in dev/test env) - Adds Routing, Container and Twig to profile toolbar
- LuneticsLocaleBundle - Adds locale guessing