Download the PHP package tenantcloud/laravel-boolean-softdeletes without Composer
On this page you can find all versions of the php package tenantcloud/laravel-boolean-softdeletes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tenantcloud/laravel-boolean-softdeletes
More information about tenantcloud/laravel-boolean-softdeletes
Files in tenantcloud/laravel-boolean-softdeletes
Package laravel-boolean-softdeletes
Short Description Laravel soft deletes optimization for high load queries
License MIT
Informations about the package laravel-boolean-softdeletes
Laravel Boolean SoftDeletes
This package is designed for high-load applications and optimizes queries with soft deletes by utilizing a boolean field for indexing, which is more efficient than using unique timestamps.
Install
Via Composer
Add Webkid\LaravelBooleanSoftdeletes\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.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Ivan Kolodiy
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-boolean-softdeletes with dependencies
illuminate/contracts Version ^10.0
illuminate/console Version ^9.0|^10.0
illuminate/database Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0