The code bundles Symfony 2.0.16 with Sonata Admin Bundle as a boilerplate/Barebone. It is targetted for developers who wish to have an admin panel with Symfony up and running in no time.
Bundles configured/added on the deps are follows:
TwigGenerator
PagerFanta
WhiteOctoberPagerfantaBundle
doctrine-fixtures
DoctrineFixturesBundle
DoctrineBundle
SonataAdminBundle
SonataBlockBundle
SonataCacheBundle
SonatajQueryBundle
SonataUserBundle
SonataEasyExtendsBundle
SonataDoctrineORMAdminBundle
KnpMenuBundle
KnpMenu
Exporter
SonataDoctrineExtensions
FOSUserBundle
EntityAudit
Download the files and follow the steps.
- At first update the vendors
php bin/vendors install
- Configure your database by updating information in app/config/parameters.ini
database_driver = pdo_mysql database_host = localhost database_port = database_name = symfony_boilerplate database_user = root database_password =
- Run the following command to create the database
php app/console doctrine:database:create
- Run the following command to add/update tables
php app/console doctrine:schema:update --force
- Install the Assets by using the following command:
php app/console assets:install web
- Create a Super Admin User
php app/console fos:user:create admintest admin@test.com pass --super-admin
- Thats it!. You are ready to go. Visit url below for your Admin Dashboard :).
http://localhost/symfony_boilerplate/web/app_dev.php/admin/dashboard
Same License as Symfony and Sonata Admin.