spatie/laravel-deleted-models
Automatically copy deleted Eloquent model attributes into a deleted_models table to create a recycle bin for records. Restore deleted models by ID when needed. An alternative to soft deletes for preserving deletion history without keeping rows in place.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| doctrine/mongodb-odm-softdelete | 0.83 | Adds soft delete support to Doctrine MongoDB ODM. Mark documents as deleted without removing them, with automatic filtering of deleted records from queries and options to restore or include trashed documents. Integrates cleanly with ODM repositories and event system. | 35 | 35 | 9 | 0 | 0 | 0.2 | — | — | — | |
| chrisbaltazar/doctrine-soft-delete | 0.83 | — | 0 | 0 | 0 | 1 | 0 | 21.2 | 4.9 | — | 4 days ago | |
| spatie/laravel-model-cleanup | 0.82 | Deprecated: use Laravel’s built-in Prunable. Spatie’s laravel-model-cleanup deletes unneeded Eloquent records via a cleanUp() configuration per model, and an artisan command to prune records older than a given age or matching custom rules. | 396 | 410 | 43 | 196 | 0 | 5.5 | 1.7 | MIT | 5 years ago | |
| f9webltd/laravel-deletable | 0.82 | — | 158 | 158 | 8 | 1K | 2 | 20.6 | 14.3 | MIT | 2 months ago | |
| andanteproject/soft-deletable-bundle | 0.82 | — | 10 | 10 | 2 | 528 | 0 | 1.0 | 23.4 | MIT | 4 years ago | |
| sajadsdi/laravel-file-management | 0.81 | — | 3 | 3 | 0 | 0 | 0 | 0.6 | — | — | 2 years ago | |
| lamoda/cleaner | 0.81 | Lamoda Cleaner is a PHP library for purging old data from various storages, primarily databases. Includes configurable DB cleaners such as a Doctrine DBAL cleaner that runs parameterized cleanup queries to delete outdated records. | 3 | 3 | 0 | 0 | 0 | 0.2 | — | MIT | 4 years ago | |
| willdurand/propel-publishable-behavior | 0.80 | Propel behavior that adds publish/unpublish support to your models and queries. Provides isPublished(), publish()/unpublish(), optional publication timeframes (start/end), and query filters to include/exclude unpublished records or fetch currently active publications. | 10 | 10 | 3 | 5 | 0 | 0.1 | 1.6 | — | — | |
| promethys/revive | 0.80 | — | 16 | 16 | 3 | 994 | 0 | 22.8 | 28.4 | MIT | 1 month ago | |
| spatie/laravel-queued-db-cleanup | 0.80 | Safely delete large numbers of Laravel database records by dispatching non-overlapping queued cleanup jobs. Deletes in small chunks to reduce locks and avoid timeouts, automatically re-dispatching until the query’s records are gone. | 80 | 80 | 11 | 11K | 0 | 5.8 | 29.7 | MIT | 1 year ago | |
| sajadsdi/laravel-file-management-image | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 1.2 | — | — | 2 years ago | |
| spatie/laravel-view-models | 0.80 | Move complex view-prep logic out of controllers into dedicated Laravel view model classes. Extend Spatie\ViewModels\ViewModel to transform data for views, expose computed properties, and keep templates clean and focused. | 1,090 | 1,096 | 60 | 79K | 0 | 27.3 | 29.0 | MIT | 3 months ago | |
| doctrine/mongodb-odm-softdelete-bundle | 0.80 | — | 14 | 13 | 3 | 0 | 0 | 0.1 | — | — | — | |
| joelbutcher/laravel-archivable | 0.80 | Add archiving to Laravel Eloquent models like SoftDeletes. Includes migration macros for archived_at, model trait, and query builder scopes/macros to archive/unarchive records and filter archived vs active results in fluent chains. | 126 | 126 | 24 | 22K | 1 | 5.1 | 30.8 | MIT | 1 year ago | |
| cesargb/laravel-cascade-delete | 0.80 | — | 19 | 19 | 4 | 2K | 0 | 22.2 | 32.3 | MIT | 2 months ago | |
| gedmo/doctrine-extensions | 0.80 | — | 0 | 4,162 | — | 2M | — | 71.2 | 68.5 | — | — | |
| adgoal/cleaner-bundle | 0.80 | Symfony bundle integrating lamoda/cleaner. Configure DB and custom storage cleaners via YAML, including transactional mode, parameters, and multi-query setups. Provides a console command to run all cleaners or a selected one (cleaner:clear). | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| spatie/laravel-model-info | 0.79 | Inspect Laravel Eloquent models to discover their file name, table name, attributes (name/type) and relations (name/type/related model). Also includes a ModelFinder to automatically locate all models in your application. | 183 | 184 | 24 | 10K | 0 | 23.7 | 27.5 | MIT | 3 months ago | |
| sansanlabs/laravel-userstamps | 0.79 | — | 2 | 2 | 0 | 133 | 0 | 19.9 | 26.2 | MIT | 2 months ago | |
| spatie/laravel-schemaless-attributes | 0.79 | Add “schemaless” JSON attributes to Laravel Eloquent models. Store arbitrary key/value data in one JSON column with a fluent API: get/set via properties or arrays, dot-notation access, defaults, forget keys, and query scopes for matching attributes. | 1,080 | 1,084 | 54 | 372K | 0 | 30.7 | 39.5 | MIT | 3 months ago |
How can I help you explore Laravel packages today?