Sortable

Sortable behavior will maintain a position field for ordering entities.

  • Automatic handling of position index

  • Group entity ordering by one or more fields

  • Can be nested with other behaviors

  • Annotation, Yaml and Xml mapping support for extensions

Installation

Add LaravelDoctrine\Extensions\Sortable\SortableExtension to doctrine.extensions config in config/doctrine.php.

Further Reading

See the official documentation for use of this behavior.


This is documentation for laravel-doctrine/extensions. Please add your ★ star to the project.