Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Sortable Ui Bundle

Sortable Ui Bundle Laravel Package

aliocza/sortable-ui-bundle

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Sortable Ui Bundle
Can I use aliocza/sortable-ui-bundle in Laravel projects?
No, this bundle is designed for Symfony 2.x and relies on SonataAdmin and Doctrine ORM, which are incompatible with Laravel’s Eloquent ORM. Laravel alternatives like spatie/laravel-sortable are recommended instead.
What Laravel alternatives exist for sortable admin listings?
For Laravel, consider spatie/laravel-sortable (supports nested sorting), backpack-for-laravel’s built-in sortable features, or Filament’s drag-and-drop UI components. These are actively maintained and Laravel-native.
How do I configure sortable fields in this bundle?
Configure via `config.yml` under `aliocza_sortable_ui` with `db_driver: orm` and specify `position_field` for each entity (e.g., `AppBundle/Entity/Foobar: order`). Requires a `position` column in your database.
Does this bundle support multi-level drag-and-drop?
The bundle promised multi-level drag-and-drop in its roadmap but never implemented it. For nested sorting, Laravel packages like spatie/laravel-sortable are better suited with full feature support.
What PHP/Symfony versions does this bundle support?
The bundle targets Symfony 2.x and PHP 5.3+, which are outdated. Modern Laravel apps use PHP 8.x and Symfony 5+/6+, making this bundle incompatible without significant refactoring.
How do I migrate from SonataAdmin to a Laravel-compatible solution?
Replace SonataAdmin with Laravel alternatives like Backpack, Voyager, or Filament. Port the sorting logic to Eloquent observers or use spatie/laravel-sortable, which handles position updates via model events.
Will this bundle work with Laravel’s Eloquent ORM?
No, it relies on Doctrine ORM and Gedmo Doctrine Extensions. For Eloquent, you’d need to manually implement similar logic (e.g., using observers) or adopt a Laravel-native package like spatie/laravel-sortable.
Are there performance concerns with this bundle’s sorting approach?
The bundle uses ORM-level sorting (Gedmo), which may not be optimized for modern Laravel apps. Client-side JS libraries like SortableJS + AJAX updates (e.g., via Alpine.js) often offer better performance for UI-heavy sorting.
How do I add a sortable column to my Laravel model?
For Laravel, add a `position` column to your table, then use spatie/laravel-sortable’s traits or manually implement position updates via Eloquent model events (e.g., `updating` hook).
Is this bundle actively maintained?
No, the last release was in 2016. Open issues remain unresolved, and Symfony 2.x dependencies are unsupported. For production use, prioritize maintained Laravel packages like spatie/laravel-sortable.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware