I need a clean skeleton, without demons and default configurations, to understand the whole setup process, start from scratch and create a package for Symfony 2.
Thanks!
Download the Standard version with the Acme demo, inside which the distribution is a file called README.md , and at the bottom it contains a section that describes how to remove Acme stuff:
README.md
Using this publication as the base of your applicationSince the standard version is fully configured and comes with some examples, you need to make a few changes before using them to build your application.The distribution is configured with the following default values:Twig is the only template engine configured;Configuring Doctrine ORM / DBAL;Configured SwiftmailerAnnotations for all are included.The default package, AcmeDemoBundle , shows the action of Symfony2. After playing with him, you can delete him by following these steps:delete the src/Acme directory;delete routing entries that reference AcmeBundle in app/config/routing_dev.yml ;remove AcmeBundle from registered packages in app/AppKernel.php ;
Since the standard version is fully configured and comes with some examples, you need to make a few changes before using them to build your application.
The distribution is configured with the following default values:
The default package, AcmeDemoBundle , shows the action of Symfony2. After playing with him, you can delete him by following these steps:
AcmeDemoBundle
src/Acme
app/config/routing_dev.yml
app/AppKernel.php
You can also remove web/bundles/acmedemo , as these are just assets that are installed using php app/console assets:install web .
web/bundles/acmedemo
php app/console assets:install web
Demo files are just one package and they really help understand the configuration for Symfony2. They are also initialized only in the front-end development controller and are easily removed by removing the package from your application. Kernel and configs.
The structure of Symfony2 is very difficult to learn because there are many different ways to accomplish this task. Configuration files can be in different formats and in different places.
Try using the Interactive Generator command-line tool to create a package. Here is a really good review: http://symfony.com/doc/2.0/book/page_creation.html
Good luck