Skip to content

liquidlabs/Symfony2-Sonata-Admin-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony + Sonata Admin Bundle Boilerplate

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

How to install

Download the files and follow the steps.

  1. At first update the vendors
php bin/vendors install
  1. 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 = 
  1. Run the following command to create the database
php app/console doctrine:database:create
  1. Run the following command to add/update tables
php app/console doctrine:schema:update --force
  1. Install the Assets by using the following command:
php app/console assets:install web
  1. Create a Super Admin User
php app/console fos:user:create admintest admin@test.com pass --super-admin
  1. Thats it!. You are ready to go. Visit url below for your Admin Dashboard :).
http://localhost/symfony_boilerplate/web/app_dev.php/admin/dashboard

License & Credits

Same License as Symfony and Sonata Admin.

About

A Boilerplate with Symfony2 configured with Sonata Admin Bundle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages