Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Boilerplate with Symfony2 configured with Sonata Admin Bundle
branch: master
Failed to load latest commit information.
app
bin
src
web
.gitattributes
.gitignore
LICENSE
README.md
deps
deps.lock

README.md

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
    
  2. 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 = 
    
  3. Run the following command to create the database

    php app/console doctrine:database:create
    
  4. Run the following command to add/update tables

    php app/console doctrine:schema:update --force
    
  5. Install the Assets by using the following command:

    php app/console assets:install web
    
  6. Create a Super Admin User

    php app/console fos:user:create admintest admin@test.com pass --super-admin
    
  7. 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.

Something went wrong with that request. Please try again.