Search by

protung / easyadmin-plus-bundle

protung

Extensions for EasyAdmin: base CRUD controllers, also for editing entities through DTOs, an entity field linking to the CRUD controller of the related entity, JSON and callback-configurable fields, an enum filter, menu item matchers, and PHPUnit test cases for dashboards and CRUD actions.

Package info

github.com/protung/easyadmin-plus-bundle

Type:symfony-bundle

pkg:composer/protung/easyadmin-plus-bundle

Statistics

Installs: 38 601

Dependents: 0

Suggesters: 0

Stars: 11

Open Issues: 3

v0.5.0 2026-10-21 13:38 UTC

This package is auto-updated.

Last update: 2026-10-21 13:41:06 UTC


README

Extensions for EasyAdmin: DTO-backed CRUD controllers, entity and JSON fields, an enum filter, menu item matchers, and PHPUnit test cases for dashboards and CRUD actions.

Build

Latest Stable Version Total Downloads

Installation

Require using composer:

$ composer require protung/easyadmin-plus-bundle

Symfony Flex registers the bundle. Without Flex, add it to config/bundles.php:

return [
    // ...
    Protung\EasyAdminPlusBundle\ProtungEasyAdminPlusBundle::class => ['all' => true],
    // ...
];

Confirmation modal with a title and a body

Since EasyAdmin 5.7, a custom message passed to askConfirmation() is shown as body text and the modal's title is hidden, while the delete confirmation keeps a title and a description. To give another action's confirmation a title and a body like the delete one's, pass a ConfirmationModal:

use Protung\EasyAdminPlusBundle\Action\ConfirmationModal;

use function Symfony\Component\Translation\t;

Action::new('close')
    ->linkToCrudAction('close')
    ->askConfirmation(new ConfirmationModal(t('close.confirmation_modal.title'), t('close.confirmation_modal.content')));

A label for the confirmation button can still be passed as askConfirmation()'s second argument. Before EasyAdmin 5.7, and for the delete action, the title and the body are shown joined as a single message. Batch actions keep EasyAdmin's batch confirmation.

License

This package is licensed using the MIT License.

Please have a look at LICENSE.md.