This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

This package is not auto-updated.

Last update: 2021-11-19 06:04:08 UTC


The aim of this distribution is to supply a skeleton to start working with some bundles of Sonata already configured. At the moment supplies an integration with Sonata Admin, Sonata Classification and Sonata Media bundles.

This project is experimental!


  1. Clone repository and generate a secret in parameters.yml.

  2. Update vendors.

$ composer update
  1. Create database.
$ bin/console doctrine:database:create
  1. Update schema.
$ bin/console doctrine:schema:update --force
  1. Fix Sonata contexts.

This distribution defines 2 contexts: default e media under sonata_media config in src\AppAdminBundle\Resources\config\config.yml

$ bin/console sonata:classification:fix-context
$ bin/console sonata:media:fix-media-context
  1. Clear cache and install assets
$ bin/console cache:clear
$ bin/console assets:install
  1. Create and promote user to ROLE_SUPER_ADMIN.
$ bin/console fos:user:create
$ bin/console fos:user:promote
  1. Add uploads/media folder under web folder
$ mkdir web/uploads
$ mkdir web/uploads/media
$ chmod -R 0777 web/uploads
  1. Visit the admin page on /admin/dashboard.


  1. Dashboard
  2. Media / List
  3. Category / Tree
  4. Category / Edit
  5. Post / Edit (SonataMediaBundle and CKEditor integration)
♥ ☕ m|e|s