Admin Bundle
4.x version
Maintained
Unmaintained
Admin Bundle¶
SonataAdminBundle is split into 4 bundles:
- SonataAdminBundle: contains core libraries and services
- SonataDoctrineORMAdminBundle: integrates Doctrine ORM project with the admin bundle
- SonataDoctrineMongoDBAdminBundle: integrates MongoDB with the admin bundle
- SonataDoctrinePhpcrAdminBundle: integrates PHPCR with the admin bundle
The demo website can be found at https://demo.sonata-project.org.
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. Configuration
- 2. Architecture
- 3. Create child admins
- 4. Dashboard
- 5. Search
- 6. The List View
- 7. Creating and Editing objects
- 8. The Show action
- 9. Setting up a custom show template (very useful)
- 10. Deleting objects
- 11. The Export action
- 12. Saving hooks
- 13. Form Types
- 14. Form Help Messages and Descriptions
- 15. Field Types
- 16. Batch actions
- 17. Console/Command-Line Commands
- 18. Troubleshooting
- 19. The breadcrumbs builder
Advanced Options¶
Cookbook¶
- 1. Select2
- 2. iCheck
- 3. KnpMenu
- 4. Uploading and saving documents (including images) using DoctrineORM and SonataAdmin
- 5. Showing image previews
- 6. Row templates
- 7. Sortable behavior in admin listing
- 8. Modifying form fields dynamically depending on edited object
- 9. Creating a Custom Admin Action
- 10. Customizing a mosaic list
- 11. Overwrite Admin Configuration
- 12. Improve Performance of Large Datasets
- 13. Virtual Field Descriptions
- 14. Bootlint
- 15. Lock Protection
- 16. Sortable Sonata Type Model in Admin
- 17. Deleting a Group of Fields from an Admin
- 18. Using DataMapper to work with domain entities without per field setters
- 19. Persisting Filters
- 20. Integrate Symfony Workflow Component
- 21. SonataAdmin without FOSUserBundle/SonataUserBundle
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.