This package provides a trait that adds sortable behavior to an Eloquent model. The value of the order column of a new record of a model is determined by the maximum value of the order column of all records of that model + 1. The package also provides a query scope to fetch all the records in the right order. Spatie is a web design agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
Features
- This package can be installed through Composer
- Documentation available
- Add sortable behaviour to your model
- The package contains some integration/smoke tests
- Set up with Orchestra
- Licensed under the MIT License
Categories
FrameworksLicense
MIT LicenseFollow Sortable behaviour for Eloquent models
Other Useful Business Software
MicroStation by Bentley Systems is the trusted computer-aided design (CAD) software built specifically for infrastructure design.
MicroStation is the only computer-aided design software for infrastructure design, helping architects and engineers like you bring their vision to life, present their designs to their clients, and deliver their projects to the community.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Sortable behaviour for Eloquent models!