PHPackages                             aschaeffer/sonata-editable-list-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aschaeffer/sonata-editable-list-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

aschaeffer/sonata-editable-list-bundle
======================================

Symfony SonataClassificationBundle

4.1(1y ago)0140MITPHPPHP ^7.2 || ^8

Since Feb 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/arnaudschaeffer/SonataEditableListBundle)[ Packagist](https://packagist.org/packages/aschaeffer/sonata-editable-list-bundle)[ Docs](https://github.com/arnaudschaeffer/SonataEditableListBundle)[ RSS](/packages/aschaeffer-sonata-editable-list-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (23)Used By (0)

Sonata Editable List Bundle
===========================

[](#sonata-editable-list-bundle)

Sonata Editalbe List Bundle allow you to define editable list for entities.

Installation
------------

[](#installation)

Install the package with:

```
composer require aschaeffer/sonata-editable-list-bundle
```

If you're *not* using Symfony Flex, you'll also need to enable the `Aschaeffer\SonataEditableListBundle\AschaefferSonataEditableListBundle` in your `AppKernel.php` file.

You can then add `SonataEditableList` and `SonataEditableItem` in `App\Entity`. The class can be found in the recipe branch of this repository.

Also, add the following configuration:

```
#config/packages/aschaeffer_sonata_editable_list.yaml
aschaeffer_sonata_editable_list:
  class:
    list: App\Entity\SonataEditableList
    item: App\Entity\SonataEditableItem
```

Usage
-----

[](#usage)

In your entity, add `Listable` annotation to use editable list :

```
