PHPackages                             agence-adeliom/easy-fields-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. agence-adeliom/easy-fields-bundle

ActiveSymfony-bundle

agence-adeliom/easy-fields-bundle
=================================

A Symfony bundle for EasyAdmin that provide some fields

3.0.2(5mo ago)1416.0k↑31%10[5 issues](https://github.com/agence-adeliom/easy-fields-bundle/issues)[1 PRs](https://github.com/agence-adeliom/easy-fields-bundle/pulls)9MITJavaScriptPHP &gt;=8.2

Since Nov 16Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/agence-adeliom/easy-fields-bundle)[ Packagist](https://packagist.org/packages/agence-adeliom/easy-fields-bundle)[ Docs](https://github.com/agence-adeliom/easy-fields-bundle)[ RSS](/packages/agence-adeliom-easy-fields-bundle/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelogDependencies (11)Versions (142)Used By (9)

[![Adeliom](https://camo.githubusercontent.com/cfcea17cd5354fe5c47c2873d4ec93e8d84e1468240bc616fdfb9196dc032093/68747470733a2f2f6164656c696f6d2e636f6d2f7075626c69632f75706c6f6164732f323031372f30392f4164656c696f6d5f6c6f676f2e706e67)](https://camo.githubusercontent.com/cfcea17cd5354fe5c47c2873d4ec93e8d84e1468240bc616fdfb9196dc032093/68747470733a2f2f6164656c696f6d2e636f6d2f7075626c69632f75706c6f6164732f323031372f30392f4164656c696f6d5f6c6f676f2e706e67)[![Quality gate](https://camo.githubusercontent.com/888ad9a5f3f1122d83eeeedd5956c4e3ad21be3f49b524f569dbe5b6cee0efe4/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f7175616c6974795f676174653f70726f6a6563743d6167656e63652d6164656c696f6d5f656173792d6669656c64732d62756e646c65)](https://sonarcloud.io/dashboard?id=agence-adeliom_easy-fields-bundle)

Easy Fields Bundle
==================

[](#easy-fields-bundle)

Provide some fields for Easyadmin.

Versions
--------

[](#versions)

Repository BranchVersionSymfony CompatibilityPHP CompatibilityStatus`3.x``3.x``6.4`, and `7.x``8.2` or higherNew features and bug fixes`2.x``2.x``5.4`, and `6.x``8.0.2` or higherBug fixes`1.x``1.x``4.4`, and `5.x``7.2.5` or higherNo longer maintainedInstallation with Symfony Flex
------------------------------

[](#installation-with-symfony-flex)

Add our recipes endpoint

```
{
  "extra": {
    "symfony": {
      "endpoint": [
        "https://api.github.com/repos/agence-adeliom/symfony-recipes/contents/index.json?ref=flex/main",
        ...
        "flex://defaults"
      ],
      "allow-contrib": true
    }
  }
}
```

Install with composer

```
composer require agence-adeliom/easy-fields-bundle
```

Documentation
-------------

[](#documentation)

### AssociationField

[](#associationfield)

Is an extension of EasyAdmin's AssociationField that allow you to create new object et select one from the curent page.

#### Usage

[](#usage)

```
use Adeliom\EasyFieldsBundle\Admin\Field\AssociationField;

// You have to add this form theme @EasyFields/form/association_widget.html.twig
...
yield AssociationField::new('property', "label");
```

### EnumField

[](#enumfield)

#### Usage

[](#usage-1)

```
use Adeliom\EasyFieldsBundle\Admin\Field\EnumField;
...
yield EnumField::new('property', "label")
    ->setEnum(YourEnumClass::class);
```

### FormTypeField

[](#formtypefield)

This field is a custom integration that allow you to bind any raw form type to your admin.

#### Usage

[](#usage-2)

```
use Adeliom\EasyFieldsBundle\Admin\Field\FormTypeField;
...
yield FormTypeField::new('property', "label", YourFormTypeClass::class)
```

### TranslationField

[](#translationfield)

An A2lix TranslationFormBundle integration for EasyAdmin.

#### Usage

[](#usage-3)

```
use Adeliom\EasyFieldsBundle\Admin\Field\TranslationField;

// You have to add this form theme @EasyFields/form/translations_widget.html.twig
...
yield TranslationField::new('property', "label", [
    'description' => [
        'field_type' => 'textarea',
        'label' => 'descript.',
        'locale_options' => [
            'es' => ['label' => 'descripción']
            'fr' => ['display' => false]
        ]
    ]
])
```

### ChoiceMaskField

[](#choicemaskfield)

An fork of Sonata's ChoiceMaskField for EasyAdmin.

#### Usage

[](#usage-4)

```
use Adeliom\EasyFieldsBundle\Admin\Field\ChoiceMaskField;

// You have to add this form theme @EasyFields/form/choice_mask_widget.html.twig
...
yield ChoiceMaskField::new('property', "label")
    ->setChoices([
        'uri' => 'uri',
        'route' => 'route',
    ])
    // Associative array. Describes the fields that are displayed for each choice.
    ->setMap([
        'route' => ['route', 'parameters'],
        'uri' => ['uri'],
    ]);
```

### SortableCollectionField

[](#sortablecollectionfield)

Is an extension of EasyAdmin's CollectionField that allow you to sort entries.

#### Usage

[](#usage-5)

```
use Adeliom\EasyFieldsBundle\Admin\Field\SortableCollectionField;

// You have to add this form theme @EasyFields/form/sortable_widget.html.twig
...
// NOTE : property can be a *ToMany or an array.
yield SortableCollectionField::new('property', "label")
    ->setEntryType(YourEntryFromType::class)
    ->allowAdd() // Allow to add new entry
    ->allowDelete() // Allow to remove entries
    ->allowDrag()  // Allow to drag entries
    ;
```

### IconField

[](#iconfield)

Is an icon picker.

#### Usage

[](#usage-6)

```
use Adeliom\EasyFieldsBundle\Admin\Field\IconField;

// You have to add this form theme @EasyFields/form/icon_widget.html.twig
...
yield IconField::new('property', "label")
    ->setJsonUrl($url) // Must be a public json file with an array of your icon's classes
    ->setFonts($fonts) // Must be an array of yours fonticon css file
    ->setSelectButtonLabel() // Change label
    ->setCancelButtonLabel()  // Change label
    ->setShowAllButtonLabel()  // Change label
    ->setSearchPlaceholder()  // Change label
    ->setNotResultMessage()  // Change label
    ->setDeleteLabel()
    ;
```

### PositionSortableField

[](#positionsortablefield)

#### Usage

[](#usage-7)

```
use Adeliom\EasyFieldsBundle\Admin\Field\PositionSortableField;

// You have to add this form theme @EasyFields/form/form-easy-field-position-sortable.html.twig
...
yield PositionSortableField::new('property', "label");
```

### OembedField

[](#oembedfield)

To use this field, you need to add the bundle specific routes:

```
# config/routes/easy_fields.yaml

easy_fields:
  resource: '@EasyFieldsBundle/Resources/config/routes.xml'
  prefix: /
```

#### Usage

[](#usage-8)

```
use Adeliom\EasyFieldsBundle\Admin\Field\OembedField;

// You have to add this form theme @EasyFields/form/oembed_widget.html.twig
...
yield OembedField::new('property', "label");
```

##### Twig render

[](#twig-render)

```
# Get HTML code
{{ property|oembed_html }}

# Get Dimensions
{{ property|oembed_size }}
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

Authors
-------

[](#authors)

- [@arnaud-ritti](https://github.com/arnaud-ritti)
- [@JeromeEngelnAdeliom](https://github.com/JeromeEngelnAdeliom)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance74

Regular maintenance activity

Popularity37

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Recently: every ~24 days

Total

139

Last Release

63d ago

Major Versions

1.0.8 → 2.0.82022-08-26

2.0.121 → 3.0.0-alpha2025-03-13

2.0.127 → 3.02025-09-29

2.0.130 → 3.0.22025-12-19

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

2.0.8PHP &gt;=8.0.2

3.0.0-alphaPHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6471ac11bb69c46070e9140c9272639d3fe4b569c68ef8cde7cf60b0aa4ce9e6?d=identicon)[arnaud-ritti](/maintainers/arnaud-ritti)

![](https://www.gravatar.com/avatar/f84eb060084594eb8f047a7244c2bf238f7e677850a26457610402bc30030afe?d=identicon)[adeliom](/maintainers/adeliom)

---

Top Contributors

[![jdadeliom](https://avatars.githubusercontent.com/u/97044531?v=4)](https://github.com/jdadeliom "jdadeliom (6 commits)")[![LucasVigneronAdeliom](https://avatars.githubusercontent.com/u/81555425?v=4)](https://github.com/LucasVigneronAdeliom "LucasVigneronAdeliom (4 commits)")[![ThibautAdeliom](https://avatars.githubusercontent.com/u/69465038?v=4)](https://github.com/ThibautAdeliom "ThibautAdeliom (3 commits)")[![VirgileGibello](https://avatars.githubusercontent.com/u/107399970?v=4)](https://github.com/VirgileGibello "VirgileGibello (3 commits)")[![JeanDavidDaviet](https://avatars.githubusercontent.com/u/1676202?v=4)](https://github.com/JeanDavidDaviet "JeanDavidDaviet (2 commits)")[![jeromeengeln](https://avatars.githubusercontent.com/u/51697251?v=4)](https://github.com/jeromeengeln "jeromeengeln (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![arnaud-ritti](https://avatars.githubusercontent.com/u/77437157?v=4)](https://github.com/arnaud-ritti "arnaud-ritti (1 commits)")

---

Tags

easyadminsymfonysymfonyfieldseasyadmin

### Embed Badge

![Health badge](/badges/agence-adeliom-easy-fields-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/agence-adeliom-easy-fields-bundle/health.svg)](https://phpackages.com/packages/agence-adeliom-easy-fields-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[a2lix/translation-form-bundle

Translate your doctrine objects easily with some helpers

3376.9M38](/packages/a2lix-translation-form-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
