PHPackages                             aymericcucherousset/ux-sortable - 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. [Framework](/categories/framework)
4. /
5. aymericcucherousset/ux-sortable

ActiveSymfony-bundle[Framework](/categories/framework)

aymericcucherousset/ux-sortable
===============================

Sortable integration for Symfony

v0.0.2(2mo ago)01MITPHPPHP &gt;=8.3

Since Mar 8Pushed 2mo agoCompare

[ Source](https://github.com/aymericcucherousset/ux-sortable)[ Packagist](https://packagist.org/packages/aymericcucherousset/ux-sortable)[ RSS](/packages/aymericcucherousset-ux-sortable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (2)Used By (0)

Symfony UX Sortable
===================

[](#symfony-ux-sortable)

A lightweight Symfony UX wrapper around SortableJS using AssetMapper &amp; Stimulus.

Symfony UX Sortable integrates [SortableJS](https://github.com/SortableJS/Sortable) into Symfony applications using:

- AssetMapper (no Webpack/Vite required)
- Stimulus
- Twig helper
- Importmap

Features
--------

[](#features)

- Drag &amp; drop reordering
- Fully configurable SortableJS options
- Clean Twig API
- Zero build step

Compatible with Symfony 7.4 / 8+

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

[](#installation)

```
composer require aymericcucherousset/ux-sortable
```

If you are using Symfony Flex, the bundle is auto-registered.

Then install JavaScript dependencies:

```
php bin/console importmap:install
```

Basic Usage
-----------

[](#basic-usage)

### Twig

[](#twig)

```

    Item 1
    Item 2
    Item 3

```

That’s it. Drag &amp; drop is now enabled.

### Passing Options

[](#passing-options)

You can pass any SortableJS option:

```

    Task A
    Task B

```

Options are automatically encoded as a valid JSON object.

### How It Works

[](#how-it-works)

Registers a Stimulus controller Uses AssetMapper to expose JS assets Wraps SortableJS Generates correct Stimulus data attributes via Twig Generated HTML example:

```

```

Requirements
------------

[](#requirements)

- PHP 8.3+
- Symfony 7.4+ or 8+
- symfony/stimulus-bundle
- symfony/asset-mapper

Advanced Usage
--------------

[](#advanced-usage)

You can still access the controller manually if needed:

```

```

Roadmap
-------

[](#roadmap)

- Emit custom events
- Integration with Symfony UX LiveComponent
- Nested sortable support
- TypeScript support
- Auto persistence helper

Versioning
----------

[](#versioning)

Current version: v0.0.1

This is an early release. API may evolve before 1.0.

Contributing
------------

[](#contributing)

Issues and pull requests are welcome.

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance94

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

61d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e5233371c649b785f2b726ec2ec837d143dc7f5c3e801ae2dd0838faaa2fd5d?d=identicon)[aymericcucherousset](/maintainers/aymericcucherousset)

---

Top Contributors

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

---

Tags

symfony-uxsortable

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/aymericcucherousset-ux-sortable/health.svg)

```
[![Health](https://phpackages.com/badges/aymericcucherousset-ux-sortable/health.svg)](https://phpackages.com/packages/aymericcucherousset-ux-sortable)
```

###  Alternatives

[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.3M151](/packages/sulu-sulu)[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)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17314.3M160](/packages/symfony-stimulus-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/storefront

Storefront for Shopware

684.2M147](/packages/shopware-storefront)

PHPackages © 2026

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