2lenet/easyadmin-plus-bundle

2lenet/EasyAdminPlusBundle

1.0.8.3 2018-07-20 13:59 UTC

README

About

EasyAdminPlusBundle is a Symfony 4 wrapper for the amazing EasyCorp/EasyAdminBundle which includes some extra features.

Features

  • Provide a generator to guess the default EasyAdmin configuration based on Doctrine Types', Annotations' & Asserts' reflection + support popular 3rd party bundles.
  • Add an action to manage translations files.
  • ACL to restrict access based on entity/action role permissions
  • Add an action to export entities in CSV.
  • Filters on entity
  • Nested tree compatible

Requirements

  • PHP >= 7.1
  • Symfony 4
  • EasyAdminBundle ^1.17

Install

$ composer require lle/easyadmin-plus-bundle

Replace EasyAdmin controller

Load routes from our AdminController or yours but make sure it extends LleEasyAdminPlusBundle Controller

# config/routes/easy_admin.yaml
easy_admin_bundle:
    resource: '@LleEasyAdminPlusBundle/Controller/AdminController.php'
    prefix: /admin
    type: annotation

Getting started

  1. Filter
  2. Generator
  3. Translation Action
  4. ACL
  5. Export Action
  6. Custom Form Types
  7. Nested Tree