PHPackages                             adiafora/revisionable-force-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. adiafora/revisionable-force-delete

ActivePackage[Utility &amp; Helpers](/categories/utility)

adiafora/revisionable-force-delete
==================================

Package improvement VentureCraft/revisionable

1.7(6y ago)016MITPHPPHP &gt;=5.4.0CI failing

Since Jan 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/adiafora/revisionable-force-delete)[ Packagist](https://packagist.org/packages/adiafora/revisionable-force-delete)[ RSS](/packages/adiafora-revisionable-force-delete/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Revisionable with Force Delete
==============================

[](#revisionable-with-force-delete)

This package is an improvement on another package - [Revisionable](https://github.com/VentureCraft/revisionable). You must install it before installing this package.

This package adds support for saving Force deleted models.

Install
-------

[](#install)

Run:

```
    composer require "adiafora/revisionable-force-delete"
```

Usage
-----

[](#usage)

Just add a trait `RevisionableForceDeleteTrait` to the model whose revision you want to save.

```
   use Adiafora\RevisionableForceDelete\RevisionableForceDeleteTrait;
```

### Storing Force Delete

[](#storing-force-delete)

By default the Force Delete of a model is not stored as a revision.

If you want to store the Force Delete as a revision you can override this behavior by setting `revisionForceDeleteEnabled ` to `true` by adding the following to your model:

```
protected $revisionForceDeleteEnabled = true;
```

In which case, the `created_at` field will be stored as a key with the `oldValue()` value equal to the model creation date and the `newValue()` value equal to `null`.

**Attention!** Turn on this setting carefully! Since the model saved in the revision, now does not exist, so you will not be able to get its object or its relations.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~7 days

Total

4

Last Release

2298d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4a7033811d36da4fe0bd43c276f2dd8b2b20915d5541cd02049b7b2258b8d70?d=identicon)[ZhidkovSV](/maintainers/ZhidkovSV)

---

Top Contributors

[![adiafora](https://avatars.githubusercontent.com/u/53189193?v=4)](https://github.com/adiafora "adiafora (1 commits)")

---

Tags

laravelrevisionable

### Embed Badge

![Health badge](/badges/adiafora-revisionable-force-delete/health.svg)

```
[![Health](https://phpackages.com/badges/adiafora-revisionable-force-delete/health.svg)](https://phpackages.com/packages/adiafora-revisionable-force-delete)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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