Admin Bundle
2.3 version
Admin Bundle¶
SonataAdminBundle is split into 5 bundles:
- SonataAdminBundle: contains core libraries and services
- SonataDoctrineORMAdminBundle: integrates Doctrine ORM project with the core admin bundle
- SonataDoctrineMongoDBAdminBundle: integrates MongoDB with the core admin bundle (early stage)
- SonataDoctrinePhpcrAdminBundle: integrates PHPCR with the core admin bundle (early stage)
- SonataPropelAdminBundle: integrates Propel with the core admin bundle (early stage)
The demo website can be found in http://demo.sonata-project.org (admin as user and password).
Usage examples:
- SonataMediaBundle: a media manager bundle
- SonataNewsBundle: a news/blog bundle
- SonataPageBundle: a page (CMS like) bundle
- SonataUserBundle: integration of FOSUserBundle and SonataAdminBundle
Getting Started¶
Reference Guide¶
- 1. Installation
- 2. Getting started with SonataAdminBundle
- 3. Configuration
- 4. Architecture
- 5. Dashboard
- 6. Search
- 7. The List View
- 8. Creating and Editing objects
- 9. The Show action
- 10. Setting up a custom show template (very useful)
- 11. Deleting objects
- 12. The Export action
- 13. Saving hooks
- 14. Form Types
- 15. Form Help Messages and Descriptions
- 16. Field Types
- 17. Batch actions
- 18. Console/Command-Line Commands
- 19. Troubleshooting
- 20. The breadcrumbs builder
Advanced Options¶
Cookbook¶
- 1. Select2
- 2. KnpMenu
- 3. Uploading and saving documents (including images) using DoctrineORM and SonataAdmin
- 4. Showing image previews
- 5. Row templates
- 6. Sortable behavior in admin listing
- 7. Modifying form fields dynamically depending on edited object
- 8. Creating a Custom Admin Action
- 9. Customizing a mosaic list
- 10. Overwrite Admin Configuration
- 11. Improve performance of large datasets
- 12. Virtual Field Descriptions
- 13. Bootlint
- 14. Lock Protection
- 15. Sortable Sonata Type Model in Admin
- 16. Deleting a Group of Fields from an Admin
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.

