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)28784[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 4d 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 37% 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

749d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfb2122ede397d68216158afcb07eeb5ea1b4ec96f73a4e8b7d2dfdc6f0d31a4?d=identicon)[kristoftorfs](/maintainers/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

[kunstmaan/bundles-cms

The Kunstmaan CMS is an advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.

411285.2k19](/packages/kunstmaan-bundles-cms)[sylius/order-bundle

Sales order management for Symfony applications.

11415.2k8](/packages/sylius-order-bundle)[mmucklo/grid-bundle

Datagrid for symfony2 or symfony3 or symfony4 or symfony5

21343.7k3](/packages/mmucklo-grid-bundle)[kunstmaan/node-bundle

All websites need pages(we call them nodes) but you probably don't want to spend too much time building them. Plus they should look pretty and contain the right content and that takes time. We make sure you have to spend less time managing your pages but still offer you flexibility so you can focus on more important tasks and don't have to worry about it.

23141.4k14](/packages/kunstmaan-node-bundle)[umanit/easyadmin-tree-bundle

Plugin to add category tree features for EasyAdmin

237.0k](/packages/umanit-easyadmin-tree-bundle)[easycorp/easyadmin-demo

EasyAdmin Demo Application

145.7k](/packages/easycorp-easyadmin-demo)

PHPackages © 2026

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