Download the PHP package one23/laravel-softdeletes-boolean without Composer
On this page you can find all versions of the php package one23/laravel-softdeletes-boolean. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download one23/laravel-softdeletes-boolean
More information about one23/laravel-softdeletes-boolean
Files in one23/laravel-softdeletes-boolean
Package laravel-softdeletes-boolean
Short Description Laravel 9 soft deletes optimization for high load queries
License MIT
Homepage https://github.com/FlexIDK/laravel-softdeletes-boolean
Informations about the package laravel-softdeletes-boolean
Laravel 9 SoftDeletes Boolean
This package is mostly for high load apps. It will speed up queries with soft deletes. Boolean field is much better for indexing instead of unique timestamps.
Install
Via Composer
Add One23\LaravelSoftDeletesBoolean\SoftDeletesBoolean
trait to models with soft deletes.
Then create and run migration to add soft delete boolean field
If you want to use this package for existing project you can use built-in command
Also you can change default column name is_deleted
to any other by setting static property IS_DELETED
of certain model
Versions compatibility
Change log
Please see CHANGELOG for more information on what has changed recently.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-softdeletes-boolean with dependencies
illuminate/database Version >=v9
illuminate/support Version >=v9
illuminate/console Version >=v9