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 Has Many Sync Laravel Package

korridor/laravel-has-many-sync

View on GitHub
Deep Wiki
Context7
3.2.0
3.1.0
  • Added Laravel 12 support
3.0.0

Breaking changes

  • If an ID in the related data does not exist or is not in the scope of the hasMany relation, the sync function will throw a ModelNotFoundException. It is possible to modify this behavior with the $throwOnIdNotInScope attribute. Per default, this is set to true. If set to false, the sync function will ignore the Ids instead of throwing an exception.

    Before the release, the sync function would update the model even if the ID does not belong to the original model and throw a runtime exception if the ID does not exist at all.

Changelog

  • Laravel 11 support
  • PHP 8.3 support is now tested

Credits

Thanks to @bianchi for helping out with this release!

2.0.0

Breaking changes

  • The package now requires Laravel 10.
  • The namespace changed from Alfa6661\EloquentHasManySync to Korridor\LaravelHasManySync.

Changes

  • Laravel 10 support
  • Strict types
  • GitHub Actions
  • PHP 8.2 support
1.2.2
  • Added Laravel 9 support
  • Added PHP 8.1 support
  • Updated php-cs-fixer
1.2.1
1.2.0
  • Added unit tests, travis ci, codecov and style ci
  • Updated readme
  • Formatted and linted code
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