gurgentil / laravel-eloquent-sequencer

A package that allows you to create and manage sequences on Eloquent models.
MIT License
156 stars 13 forks source link

Add position manipulation methods and tests to sequencer #46

Open channor opened 5 months ago

channor commented 5 months ago

Implemented and tested moveUp, moveDown, and moveToPosition methods in the sequencer model, enhancing control over item positioning within sequences. These methods facilitate direct incrementing, decrementing, or setting the position of a model, with accompanying tests ensuring the functionality and stability of list re-sequencing operations.