Registry / orm / fico7489-laravel-pivot

fico7489-laravel-pivot

JSON →
library3.0.13phppackagistunverified

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

composer require fico7489/laravel-pivot
INSTALL
IMPORT
SIG · FICO7489-LARAVEL-P
F
fico7489-laravel-pivot
ormphpv3.0.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PivotEventTrait
use Fico7489\Laravel\Pivot\Traits\PivotEventTrait;

Add pivot events to a model by using the trait.

use Fico7489\Laravel\Pivot\Traits\PivotEventTrait; class Role extends Model { use PivotEventTrait; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.13latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
Resources
fico7489-laravel-pivot — pip install fico7489-laravel-pivot · libregistry