PHPackages                             revati/laravel-soft-delete - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. revati/laravel-soft-delete

ActiveLibrary

revati/laravel-soft-delete
==========================

Extend laravel core support for soft delete

421[1 issues](https://github.com/revati/laravel-soft-delete/issues)PHP

Since Feb 1Pushed 12y ago1 watchersCompare

[ Source](https://github.com/revati/laravel-soft-delete)[ Packagist](https://packagist.org/packages/revati/laravel-soft-delete)[ RSS](/packages/revati-laravel-soft-delete/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

This Laravel 4 package provides a additional routes for soft deletable resources:

- route for restoring resource `PUT/PATCH`
- route for force deleting resource `DELETE` (default delete used as soft delete)
- route for trashed resources list `GET`

Installation
------------

[](#installation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `revati/laravel-soft-delete`.

```
"require": {
    "laravel/framework": "4.1.*",
    "revati/laravel-soft-delete": "dev-master"
}

```

Next, update Composer from the Terminal:

```
composer update

```

Once this operation completes, the final step is to add the service provider. Open `app/config/app.php`, and add a new item to the providers array.

```
'Revati\SoftDelete\SoftDeleteServiceProvider'

```

That's it! You're all set to go.

Generated routes
----------------

[](#generated-routes)

VerbPathActionRoute NameDefault routesGET/resourceindexresource.indexGET/resource/createcreateresource.createPOST/resourcestoreresource.storeGET/resource/{resource}showresource.showGET/resource/{resource}/editeditresource.editPUT/PATCH/resource/{resource}updateresource.updateDELETE/resource/{resource}destroyresource.destroyAdditional routesGET/resource/trashtrashresource.trashPUT/PATCH/resource/{resource}/restorerestoreresource.restoreGET/resource/{resource}/confirmrestoreresource.confirmDestroyDELETE/resource/{resource}/forceforceDestroyresource.forceDestroy

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/84364eaaae21f1e2ace7a6be008c887557d173c7776267e72e9c0c34db58cb12?d=identicon)[revati](/maintainers/revati)

---

Top Contributors

[![revati](https://avatars.githubusercontent.com/u/350991?v=4)](https://github.com/revati "revati (3 commits)")

### Embed Badge

![Health badge](/badges/revati-laravel-soft-delete/health.svg)

```
[![Health](https://phpackages.com/badges/revati-laravel-soft-delete/health.svg)](https://phpackages.com/packages/revati-laravel-soft-delete)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
