really4you / laravel-optimistic
Laravel Concurrent updating for model.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/really4you/laravel-optimistic
Requires
- php: ^7.1.3
- laravel/framework: ^5.8|^6.0|^7.0
This package is auto-updated.
Last update: 2025-12-29 03:40:47 UTC
README
$ composer require really4you/laravel-optimistic
Usage
Add Really4you\LaravelOptimistic\Optimistic trait to the model and set Optimistic attributes:
use Really4you\laravelOptimistic\Optimistic; class GoodsPatent extends Model { use Optimistic; /** * the name of the "optimistic" column. * * @var string */ protected $versionAt = 'updating_column'; <...> }