PHPackages                             torfs-ict/ea-sortable-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. [Admin Panels](/categories/admin)
4. /
5. torfs-ict/ea-sortable-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

torfs-ict/ea-sortable-bundle
============================

Sortable entities in EasyAdmin bundle with drag-and-drop interface

1.0.1(2y ago)28804[3 issues](https://github.com/torfs-ict/ea-sortable-bundle/issues)MITJavaScript

Since Oct 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/torfs-ict/ea-sortable-bundle)[ Packagist](https://packagist.org/packages/torfs-ict/ea-sortable-bundle)[ RSS](/packages/torfs-ict-ea-sortable-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

EasyAdmin sortable bundle
=========================

[](#easyadmin-sortable-bundle)

This bundle provides a convenient way to make your entities sortable as well as a drag-and-drop in the EasyAdmin list view.

The javascript and css was copied from [treetop1500/easyadmin-dragndrop-sort ](https://github.com/treetop1500/easyadmin-dragndrop-sort) with some minor improvements.

Installation
============

[](#installation)

Install the bundle using composer:

```
$ composer req torfs-ict/ea-sortable-bundle
```

Add the bundle routing to `config/routes.yaml`:

```
ea-sortable:
  resource: '@OrkestraEaSortableBundle/Controller/'
  type: annotation
```

Usage
=====

[](#usage)

Using the sortable trait
------------------------

[](#using-the-sortable-trait)

Add the `Orkestra\EaSortable\SortableTrait` trait to your entity. Below is the sample configuration for EasyAdmin.

```
easy_admin:
  entities:
    SortableEntity:
      class: App\Entity\SortableEntity
      list:
        sort: ['position', 'ASC']
        actions:
          - delete
          - edit
          - new
          - search
          - { name: sort, template: '@OrkestraEaSortable/ea-sortable.html.twig' }
        fields:
          - { property: id, label: '$Id', sortable: false }
          - { property: name, label: Name, sortable: false }
```

Some notes about the configuration:

1. setting the `sort` option is mandatory, obviously
2. you need to provide the custom `sort` action in order to enable the drag-and-drop functionality
3. sorting must be disabled on all other list fields (there is no way to do this globally in EasyAdmin)

Without the sortable trait
--------------------------

[](#without-the-sortable-trait)

As long as your sorting property is called `position` you can simply follow the same steps as when using the sortable trait. If not you need to do the following things:

1. change the property in the `sort` option
2. configure the property on the `sort` action

The following example assumes the sorting property is named `index`.

```
easy_admin:
  entities:
    SortableEntity:
      class: App\Entity\SortableEntity
      list:
        sort: ['index', 'ASC']
        actions:
          - delete
          - edit
          - new
          - search
          - { name: sort, template: '@OrkestraEaSortable/ea-sortable.html.twig', property: index }
        fields:
          - { property: id, label: '$Id', sortable: false }
          - { property: name, label: Name, sortable: false }
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~1653 days

Total

2

Last Release

796d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8181149?v=4)[Kristof Torfs](/maintainers/kristoftorfs)[@kristoftorfs](https://github.com/kristoftorfs)

---

Top Contributors

[![kristoftorfs](https://avatars.githubusercontent.com/u/8181149?v=4)](https://github.com/kristoftorfs "kristoftorfs (3 commits)")

### Embed Badge

![Health badge](/badges/torfs-ict-ea-sortable-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/torfs-ict-ea-sortable-bundle/health.svg)](https://phpackages.com/packages/torfs-ict-ea-sortable-bundle)
```

###  Alternatives

[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[sylius/order-bundle

Sales order management for Symfony applications.

11439.5k12](/packages/sylius-order-bundle)[umanit/easyadmin-tree-bundle

Plugin to add category tree features for EasyAdmin

237.2k](/packages/umanit-easyadmin-tree-bundle)[agence-adeliom/easy-fields-bundle

A Symfony bundle for EasyAdmin that provide some fields

1317.8k9](/packages/agence-adeliom-easy-fields-bundle)[easycorp/easyadmin-demo

EasyAdmin Demo Application

155.8k](/packages/easycorp-easyadmin-demo)[artgris/page-bundle

add a page manager to EasyAdminBundle for Symfony

151.5k](/packages/artgris-page-bundle)

PHPackages © 2026

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