Upgrade to Pro — share decks privately, control downloads, hide ads and more …

EasyAdminBundle introduction

EasyAdminBundle introduction

Lightning Talk given at AFSY Meetup Paris January 2019

Olivier Dolbeau

January 12, 2019
Tweet

More Decks by Olivier Dolbeau

Other Decks in Programming

Transcript

  1. EasyAdminBundle
    … en 7 minutes !
    > Faites du sport !

    View full-size slide

  2. Requirements

    View full-size slide

  3. Installation

    View full-size slide

  4. There’s a lot of features!

    View full-size slide

  5. Link to coach Custom rendering
    Custom action
    Search (by default)

    View full-size slide

  6. Link to coach Custom rendering
    Custom action
    Custom controller

    View full-size slide

  7. Custom action
    Retrieve entity
    Redirect to website

    View full-size slide

  8. Groups
    Custom
    form type
    Help!
    Collection
    type
    Required or
    not

    View full-size slide

  9. It’s always possible to
    override everything!

    View full-size slide

  10. We override member show action only.
    Do your business!

    View full-size slide

  11. Favicons
    Submenus
    Titles
    “Special” action

    View full-size slide

  12. Favicons
    Titles
    Submenus
    “Special” action

    View full-size slide

  13. ● Filter entities (programs: draft,
    active, terminated, …)
    ● Auto toggle by default in list view
    ● Add a custom dashboard by
    default
    Still so many things...
    ● Customize a whole new / edit
    form instead of using the default
    one.
    ● Customize the “search engine”
    (by config or code)
    ● Security => handled by symfony

    View full-size slide

  14. Resources
    ● Official documentation:
    https://symfony.com/doc/master/bundles/EasyAdminBundle/index.html
    ● “EasyAdminBundle: l’arrière-guichet easy peasy” par Baptiste Adrien sur le blog de l’AFSY:
    https://afsy.fr/avent/2017/01-easyadminbundle-l-arriere-guichet-easy-peasy
    ● Deal with permissions:
    https://leanpub.com/practicalsymfony3/read#leanpub-auto-adding-simple-access-control-to-ea
    syadminbundle
    ● #easyadmin on symfony slack.
    ● Additional features (not tested) : https://github.com/alterphp/EasyAdminExtensionBundle
    Thanks a lot @javiereguiluz

    View full-size slide

  15. Merci !
    Faites du sport ! 5€ de réduction !
    SHAPIN<3AFSY

    View full-size slide