PHP code example of protung / easyadmin-plus-bundle

1. Go to this page and download the library: Download protung/easyadmin-plus-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

protung / easyadmin-plus-bundle example snippets


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

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')));