{"id":14985416,"url":"https://github.com/edofre/laravel-softdelete-cleanup","last_synced_at":"2026-01-05T11:15:13.700Z","repository":{"id":56975167,"uuid":"80704851","full_name":"Edofre/laravel-softdelete-cleanup","owner":"Edofre","description":"Cleanup your database from softdeleted models","archived":false,"fork":false,"pushed_at":"2020-09-04T07:43:55.000Z","size":45,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T09:16:09.379Z","etag":null,"topics":["artisan","composer","console","laravel","laravel-softdelete-cleanup"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Edofre.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGE.MD","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-02T08:00:36.000Z","updated_at":"2020-09-04T07:43:57.000Z","dependencies_parsed_at":"2022-08-21T11:50:50.851Z","dependency_job_id":null,"html_url":"https://github.com/Edofre/laravel-softdelete-cleanup","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edofre%2Flaravel-softdelete-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edofre%2Flaravel-softdelete-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edofre%2Flaravel-softdelete-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edofre%2Flaravel-softdelete-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Edofre","download_url":"https://codeload.github.com/Edofre/laravel-softdelete-cleanup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244767802,"owners_count":20507110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artisan","composer","console","laravel","laravel-softdelete-cleanup"],"created_at":"2024-09-24T14:10:56.433Z","updated_at":"2026-01-05T11:15:13.652Z","avatar_url":"https://github.com/Edofre.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Softdelete Cleanup\n\n[![Latest Stable Version](https://poser.pugx.org/edofre/laravel-softdelete-cleanup/v/stable)](https://packagist.org/packages/edofre/laravel-softdelete-cleanup)\n[![Total Downloads](https://poser.pugx.org/edofre/laravel-softdelete-cleanup/downloads)](https://packagist.org/packages/edofre/laravel-softdelete-cleanup)\n[![Latest Unstable Version](https://poser.pugx.org/edofre/laravel-softdelete-cleanup/v/unstable)](https://packagist.org/packages/edofre/laravel-softdelete-cleanup)\n[![License](https://poser.pugx.org/edofre/laravel-softdelete-cleanup/license)](https://packagist.org/packages/edofre/laravel-softdelete-cleanup)\n[![composer.lock](https://poser.pugx.org/edofre/laravel-softdelete-cleanup/composerlock)](https://packagist.org/packages/edofre/laravel-softdelete-cleanup)\n[![Build Status](https://travis-ci.org/Edofre/laravel-softdelete-cleanup.svg?branch=master)](https://travis-ci.org/Edofre/laravel-softdelete-cleanup)\n[![Code Climate](https://codeclimate.com/github/Edofre/laravel-softdelete-cleanup/badges/gpa.svg)](https://codeclimate.com/github/Edofre/laravel-softdelete-cleanup)\n[![Build Status](https://travis-ci.org/Edofre/laravel-softdelete-cleanup.svg?branch=master)](https://travis-ci.org/Edofre/laravel-softdelete-cleanup)\n\n## Installation\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nTo install, either run\n\n```\n$ php composer.phar require edofre/laravel-softdelete-cleanup\n```\n\nor add\n\n```\n\"edofre/laravel-softdelete-cleanup\": \"V1.3.0\"\n```\n\nto the ```require``` section of your `composer.json` file.\n\n## Executing\n\nThe following command will then remove all the trashed items from the User, note that the User model is not in the default namespace.\n```\nphp artisan db:softdelete-cleanup App\\\\Models\\\\User\n```\n\n## Tests\n\nRun the tests by executing the following command:\n```\ncomposer test\n```\n\n## Feature requests\n\n* Set the number of days from which the items should be deleted\n* ?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedofre%2Flaravel-softdelete-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedofre%2Flaravel-softdelete-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedofre%2Flaravel-softdelete-cleanup/lists"}