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

Laravel Position Laravel Package

nevadskiy/laravel-position

View on GitHub
Deep Wiki
Context7
0.10.0

Added

  • Support for Laravel 12
0.9.0

Added

  • Support for Laravel 11 by @eneadm in #25
0.8.1

Fixed

  • Fix bug with wrong positioning between groups
0.8.0

Added

  • Grouping feature
  • PositionObserver::lockFor() and PositionObserver::unlockFor() methods
  • PositionObserver::forceFor() method

Changed

  • Rework Lock feature
  • Refactor PositionObserver

Removed

  • isMoving() method
  • withoutShiftingPosition method
0.7.0

Added

  • getStartPosition method to define from what number start counting models
  • shiftWithTimestamps method to update timestamps when shifting models
  • Experimental lockPositions method to disable database queries during insertions

Changed

  • Now timestamps will be preserved by default when shifting model positions
  • Method newPositionQuery now is public
  • Use SQL count method instead of max for calculating position at the end
  • Refactored using PositionObserver
0.6.0

Changed

  • Rename method orderByInversePosition to orderByReversePosition
  • Rename method nextPosition to getNextPosition
  • Method getNextPosition can return negative position
  • Method getMaxPosition returns -1 when no records

Removed

  • The startPosition method
0.5.2

Added

  • Support for Laravel 10
0.5.1

Added

  • Move using negative position values
0.5.0

Added

  • Possibility to create model in the middle of the sequence
  • Possibility to create model in the beginning of the sequence
  • Possibility to update positions without shifting other models
  • Extra argument for shift amount in shiftToStart and shiftToEnd methods

Changed

  • Rename method getInitPosition to startPosition
  • Position of other models now are shifted after the model update
0.4.1

Added

  • Possibility to update position attribute along with other attributes
0.4.0

[0.4.0] - 2022-05-08

Added

  • Laravel 9 support
0.3.0

Fixed

  • Fix position query scoping for relations
0.2.0

Added

  • Documentation
  • OrderByPosition global scope
  • Support for models delete
  • swap method
  • Add PHP 8 support

Changed

  • Rename arrangeByIds into arrangeByKeys
  • Extract arrangeByKeys method into query b
0.1

Added

  • Base positioning features
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle