spatie/laravel-model-cleanup
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-queued-db-cleanup | 0.88 | 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. | 81 | 81 | 11 | 19K | 0 | 5.8 | 32.6 | MIT | 1 year ago | |
| laravel-persona/core | 0.86 | Core package for Laravel Persona, providing foundational APIs to define, resolve, and manage personas in Laravel applications. It offers a lightweight, extensible base for building persona-driven profiles, contexts, and behavior across your app. | 0 | 0 | 0 | 4 | 0 | 17.8 | 11.2 | — | 1 month ago | |
| spatie/laravel-deleted-models | 0.86 | 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. | 411 | 413 | 26 | 21K | 0 | 13.9 | 25.1 | MIT | 8 months ago | |
| t-labs-co/laravel-cleanup-data | 0.86 | A Laravel package for cleaning up data in your application, helping you remove stale or unwanted records through configurable cleanup logic. Useful for pruning old data and keeping database tables tidy. | 0 | — | 0 | — | 0 | 19.5 | — | MIT | 2 weeks ago | |
| spatie/laravel-directory-cleanup | 0.86 | Automatically delete old files from specified directories in Laravel. Configure per-path age limits (in minutes) via a published config file, then run cleanup to keep temp, cache, and upload folders tidy. Supports auto service provider registration in Laravel 5.5+. | 305 | 308 | 33 | 55K | 0 | 15.4 | 32.9 | MIT | 8 months ago | |
| adgoal/cleaner-bundle | 0.86 | 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 | |
| visavi/cleanup | 0.86 | A Laravel package for automating cleanup of old or unused files and directories. Configure paths and retention rules, then run the provided Artisan command manually or on a schedule to reclaim disk space and keep application storage tidy. | 23 | 24 | 2 | 1K | 0 | 12.3 | 25.5 | — | 4 months ago | |
| lamoda/cleaner | 0.86 | 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 | 5 years ago | |
| spatie/laravel-model-info | 0.86 | 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. | 182 | 183 | 23 | 44K | 0 | 14.7 | 34.7 | MIT | 8 months ago | |
| laravel-persona/livewire | 0.85 | Livewire components for Laravel Persona: drop-in reactive UI for creating, editing, and displaying persona profiles. Includes validation, seamless Livewire bindings, and a smooth no-extra-JavaScript workflow for Laravel apps. | 0 | 0 | 0 | 1 | 0 | 17.8 | 4.8 | — | 1 month ago | |
| spatie/laravel-model-status | 0.85 | Add status history to any Eloquent model with Spatie’s HasStatuses trait. Set statuses (strings or enums), store reasons/extra info, and retrieve current or previous statuses via convenient helpers like status() and latestStatus(). | 1,056 | 1,060 | 83 | 116K | 0 | 22.9 | 29.7 | MIT | 8 months ago | |
| vizrex/laravel-cleaner | 0.85 | — | 4 | 4 | 3 | 0 | 0 | 0.1 | — | NOASSERTION | — | |
| tightenco/quicksand | 0.85 | Quicksand runs your Laravel migrations in a throwaway sandbox database first, so failures and destructive changes surface before you touch production. Configure a sandbox connection, migrate safely, and only apply changes for real once the dry run succeeds. | 294 | 297 | 17 | 228 | 1 | 1.2 | 2.4 | MIT | 2 years ago | |
| dcat/laravel-softdeletes | 0.85 | dcat/laravel-softdeletes adds enhanced soft delete support to Laravel Eloquent models. Cascade deletes and restores across related records, keep data consistent, and avoid unique constraint conflicts from trashed rows, all through simple traits with minimal configuration. | 36 | 36 | 3 | 3 | 3 | 1.0 | 0.9 | MIT | 5 years ago | |
| helgesverre/laravel-prunekeeper | 0.85 | PruneKeeper gives Laravel apps a central home for model pruning: define retention rules, schedule prune commands, and track what gets cleaned up so your database stays lean without scattered ad-hoc cleanup scripts or guesswork. | 2 | — | 0 | — | 0 | 20.3 | — | MIT | 1 day ago | |
| f9webltd/laravel-deletable | 0.85 | — | 158 | 158 | 8 | 2K | 2 | 12.0 | 15.8 | MIT | 7 months ago | |
| laranail/db-tools | 0.85 | Laranail DB Tools bundles practical database utilities for Laravel, offering convenient Artisan commands and helpers to inspect schemas, manage connections, and handle routine maintenance. A handy toolkit for debugging queries and keeping your database layer tidy. | 1 | — | 0 | — | 0 | 19.5 | — | MIT | 2 weeks ago |
|
| julianstark999/laravel-model-iid | 0.85 | Laravel package that adds a compact, auto-incrementing IID column to Eloquent models, giving records a short human-friendly identifier for URLs, support tickets, and admin views while UUIDs or ULIDs remain the real primary key. | 0 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 5 years ago | |
| omaralalwi/laravel-trash-cleaner | 0.85 | — | 21 | 20 | 2 | 1K | 1 | 1.8 | 24.9 | MIT | 1 year ago | |
| cesargb/laravel-cascade-delete | 0.84 | — | 20 | 20 | 4 | 3K | 0 | 13.8 | 30.7 | MIT | 8 months ago |
How can I help you explore Laravel packages today?