NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1942 most downloaded on Packagist
The missing Symfony Admin Generator
Last release 4 months ago
03 Jun 2026
Release timing varies
gaps range from 1 weeks to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
277 releases · first in 2013
Added template option to admin batchActions
template option to admin batchActionsModelAutocompleteType and does not have a
create routeRemove "e" letter added after delete checkbox in inline table collection form
One column per quarter.
Fix crash on listing pages that have a datagrid filter
incorrect deprecation message about AdminInterface::setSecurityHandler()
AdminInterface::setSecurityHandler()strict_variables mode is enabledheader_style optionAllow disabling front debug logs
AdminType tabs ids when used in collectionsAdded missing polish translation for link_edit
link_editAdd display of missing sonata_help on many form type
sonata_help on many form typemake:sonata:admin not workingMinor bug in JavaScripts (Admin.js)
Fixed controller reference deprecations
Admin object reference to javascript window objectRuntimeException message for Create and Show actions from CRUDControllerPool::getInstance will always return a valid admin instanceSONATA_CONFIG and SONATA_TRANSLATIONSCreateClassCacheCommand is deprecated
zh_HK (Traditional Chinese).getNbResults return negative result, if there where no resultssymfony/class-loader into require-dev section of composerAdmin::getUniqid() to generate HTML tab idCreateClassCacheCommand is deprecatedAn error message about subclasses has been fixed
Checking the wrong method for form fields
Added exception message if no field is defined with the configureFormFields() method
configureFormFields() methodSonataAdminBundle\Controller\HelperController is now deprecated in favor of actions
link_edit in Dutch translation file.SonataAdminBundle\Controller\HelperController is now deprecated in favor of actionsfixed bug with complex properties in ModelAutocompleteType
ModelAutocompleteTypeController\CoreController is now deprecated in favor of Action\{Search,Dasbhoard}Action
title to sidebar toggleToggle NavigationgetFieldGetterKey in order remove the new warning produced by PHP7.2.Controller\CoreController is now deprecated in favor of Action\{Search,Dasbhoard}Actionassets.javascripts at Configuration::getConfigTreeBuilder()appendFormFieldElementAction and retrieveFormFieldElementAction using ModelManager instead getObject admin class methodToggle Navigationjquery.js:250 Uncaught Error: cannot call methods on button prior to initialization; while trying to use $.fn.button() (ref: https://github.com/twbs/bootstrap/issues/6094)Fixed route generation with parameter for on_top menu items
Edit on list is fixed for choices not related to an entity
Admin can now have multiple parents
AbstractAdmin::addChild now accepts 2nd parameter with parent nameEditing child admin that does not belong to a given parent
getTemplate() method in an Admin was no longer called by Sonata.Fix regression on #5051: It is possible again to know which button triggered the submit of the form.
Deprecated AbstractAdmin methods getTemplate and getTemplates.
Sonata\AdminBundle\Filter\Persister\FilterPersisterInterface to externalise filter persistence to a dedicated classSonata\AdminBundle\Filter\Persister\SessionFilterPersister to store filters to session (as done now)TemplateRegistry, TemplateRegistryInterface and MutableTemplateRegistryInterface to handle all template registration related functionality from both AbstractAdmin and Pool.required option to editable list choicesearch option to enable/disable the search form in the sidebarSonata\AdminBundle\Admin\AbstractAdmin::getFilterParameters to use the configured filter persister componentside_bar_after_nav_content block is now empty by defaultAbstractAdmin methods getTemplate and getTemplates.AbstractAdmin attribute $templates.Pool methods getTemplate, setTemplates and getTemplates.Pool attribute $templates.get_pool_template.Toggle NavigationChoiceFieldMaskType now works on inline table collectionsDeprecated SonataAdminExtension::output(). Now using the private render() method. Please use the render*() methods instead.
Environment::loadTemplate() method with Environment::load() in SonataAdminExtension.SonataAdminExtension::output(). Now using the private render() method. Please use the render*() methods instead.FieldDescription null check missing in ModelAutocompleteFiltergetFieldValue from BaseFieldDescription can now handle getting a value from null objects.base_list template includes the configurable button_create template rather than the default create_button.html.twig.Allow capturing of any link click inside of modal
ModelAutocompleteType can now be used without a linked admin classAbstractAdmin::preValidate by relying on form event listenerChoiceFieldMaskType option map is invalid or emptyChoiceFieldMaskType when option expanded is trueadmin variable in Twig can now use the get_admin_template function correctly.Missing getOwnerPermissions to AdminObjectAclData
getOwnerPermissions to AdminObjectAclDatamoment or select2$filter->apply if the filter is "active" on the datagrid list$filter->apply if the filter has a value that is not empty stringchildrenToggle navigationrequest attribute deprecation on knp_menu.voter
safe_label option to allow HTML pass-through on autocomplete form typerequest attribute deprecation on knp_menu.voterMake explicit dependency with symfony/asset
symfony/assetMenu on the left side stays hidden while changing pages.
AbstractAdmin::addSubClass()Added edit button functionality
sonata.admin and sonata.admin.filter.type are now publicAbstractAdmin::getClass() method::class constantsFixed XSS vulnerability in autocomplete form type
CRUDController::redirectToList method for all list redirectionsCRUDController::batchActionsrc/Resources/views/standard_layout.html.twig template in order to remove whitespace rendering before HTML DOCTYPE declaration.ChildrenVoter classsonata.admin.menu.matcher.voter.children serviceDeprecated CRUDController::render
CRUDController::renderWithExtraParams as a replacement for the render methodCRUDController::renderController::render which is supposed to be finalAdd html tag attributes support for sonata_type_model_autocomplete form type
AbstractAdmin::getSubject() behavior when id parameter is not specifiedChoiceType uses to avoid collisions on Form filter classesCRUDController::render()Wrong configuration for DateTimeType and DateType filters
DateTimeType and DateType filtersRegister commands as services to prevent deprecation notices on Symfony 3.4
security configuration keytranslation_domain key to AdminStatsBlockService to change or disable translationadd button in sonata_type_model_autocompletesrc, tests and docsCRUDController::addFlash which is final in SF 3.4.AbstractAdmin::hasSubject is now populating AbstractAdmin::$subject propertySymfony\Component\DependencyInjection\DefinitionDecoratorAdd support for unlimited nested child admins.
Sonata\AdminBundle\Admin\AdminInterface was split into smaller interfaces.AdminInterface::$baseCodeRoute and AdminInterface::setBaseCodeRoute(...).UrlGeneratorInterfacesonata_help for form subfieldssonata_type_immutable_array form groupblock_search_result.html.twigPool::getAdminByAdminCode() was called with an invalid child path.Fixed deprecation when using checkbox in admin form type
priority option in sonata_admin extensions configtranslation_domain twig variable. The value must change depending if the item has on_top set to true or false.Fixed deprecation when using hidden form type in model autocomplete
Check for ChildDefinition instance when possible instead of DefinitionDecorator which got deprecated on Symfony 3.3
ChildDefinition instance when possible instead of DefinitionDecorator which got deprecated on Symfony 3.3ModelChoiceList in favor of ModelChoiceLoaderServiceManipulator now adds public: true to service declaration by defaultFixed undefined view_group variable in show template
view_group variable in show templateDeprecation notices related to addClassesToCompile
addClassesToCompilecompatibility with immutable entities was improved
on_top optionSelected values issue with Select2 v4 on model autocomplete type
Fixed select2 width calculation when using select2 v4
deprecations when using sonata.admin.form.type.model_list
empty_boxes with 3 variable: show, hide, fadeModelAutocompleteFiltersonata.admin.form.type.model_listAdded editable support for association fields from type choice in ListMapper
ListMapperclass option for field description\Sensio\Bundle\GeneratorBundle\Command\Helper\QuestionHelper when you run command "sonata:admin:generate-object-acl".ModelType have choices as values by default now on SF 2.7+.LIST role can access the autocomplete items by configuring the target_admin_access_action optionisSuperior key on FormView errorAdded onTop parameter on @Admin annotation
onTop parameter on @Admin annotationkeep_open option to keep menu group always openfield_description comparison in base_list_field.html.twigAdded Brazilian Portuguese translation of title_show
title_showFieldDescription::Name and property_path in AdminTypeAdd polish translation of title_show
title_showlabel => false to ShowMapper::add()sonata/exporter constraint has been bumped to ^1.7ChoiceFieldMaskTypestandard_layoutxEditableTypedeprecation notices that could not be avoided in the CoreController class
label and translation_domain fallback for batch actionsJMSDiExtraBundleattributes parameter for url field typesonata_type_modelCoreController classJMSDiExtraBundle default configurationDashboardVIEW instead of SHOWHelperControllerhasAccess instead of isGranteddoctrine_orm_model_autocompleteaction in base_list_field.html.twigActiveVoter and ChildrenVoter to only work with menu items having the SonataAdminBundle extra set.AbstractAdminCollectionType the related fields are now disabled to avoid preventing submission of the form when one of those inputs is required.isGranted() by hasAccess() or checkAccess()sonata-project/exporter instead.JMSDiExtraBundle annotations is now discouraged in favor of doing it manuallyAdded support for priority attribute in the Extension compiler pass
ModelToArrayTransformer::$choiceList::__construct() three-argument-signature is deprecated
--services default-value to null in Sonata\AdminBundle\Command\GenerateAdminCommandModelToArrayTransformer::$choiceList propertyModelToArrayTransformer::$choiceList::__construct() three-argument-signature is deprecatedrequest parameter is passed to custom batch actions.Extract admin group and label translations
A Twig deprecation added in Twig 1.28.0
Filter form theme was used for create and edit forms too.
Fix compatibility with Symfony 3.2 form renderer.
Fixed trigger_error calls - E_USER_DEPRECATED was concatenated to the sentence, not passed as argument
roles configuration field to configuration of menu item routes.trigger_error calls - E_USER_DEPRECATED was concatenated to the sentence, not passed as argumentbase_show_macro.html.twigDeprecated AdminInterface::trans method
CRUDController::trans methodAdminInterface::trans methodAbstractAdmin::$translator propertyAbstractAdmin::trans methodAbstractAdmin::transChoice methodAbstractAdmin::getTranslator methodAbstractAdmin::setTranslator methodtranslationDomainBaseBlockService usageAdded three new sub-blocks to standard_layouts javascript block
Admin\AbstractAdmin to configuration optionsThe ALL role needs to be checked separately, otherwise the AuthorizationChecker return false all the time.
ALL role needs to be checked separately, otherwise the AuthorizationChecker return false all the time.var keyword to explicitly define the "showMaskChoiceEl" variableAdded additional _ALL role check to RolesecurityHandler
_ALL role check to RolesecurityHandleraria-hidden="true"Your coding agent can read these notes before it upgrades. Set up the MCP server →