2lenet/easyadmin-plus-bundle

2lenet/EasyAdminPlusBundle

1.0.19.4 2018-09-19 06:46 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
  • Show Advanced design ( group and tabs )
  • Batch action on list
  • Configure Query Builder Method
  • Workflow automatic display

Requirements

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

Install

$ composer require 2lenet/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: '@LleEasyAdminPlus/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
  8. Show Group and Tabs
  9. Batch Action
  10. Query Builder Method
  11. Workflow handling