PHPackages                             wolfpack-it/yii2-active-record-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. [Database &amp; ORM](/categories/database)
4. /
5. wolfpack-it/yii2-active-record-soft-delete

ActiveLibrary[Database &amp; ORM](/categories/database)

wolfpack-it/yii2-active-record-soft-delete
==========================================

Yii2 Active Record - Soft delete

v1.2.0(6y ago)01.6kMITPHPPHP &gt;=7.1.0

Since Aug 23Pushed 6y ago4 watchersCompare

[ Source](https://github.com/wolfpack-it/yii2-active-record-soft-delete)[ Packagist](https://packagist.org/packages/wolfpack-it/yii2-active-record-soft-delete)[ RSS](/packages/wolfpack-it-yii2-active-record-soft-delete/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Soft delete extension for Yii2
==============================

[](#soft-delete-extension-for-yii2)

This extension provides Soft delete integration for the Active Record of Yii2 Framework.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require wolfpack-it/yii2-active-record-soft-delete
```

or add

```
"wolfpack-it/yii2-active-record-soft-delete": "^"

```

to the `require` section of your `composer.json` file.

Configuration
-------------

[](#configuration)

In a Active Record:

```
class ActiveRecordClass extends \yii\db\ActiveRecord {
    use \WolfpackIT\softDelete\traits\SoftDelete;
}
```

TODO
----

[](#todo)

- Add tests

Credits
-------

[](#credits)

- [Joey Claessen](https://github.com/joester89)
- [Evgeni Govedarov](https://github.com/egovedarov)
- [Wolfpack IT](https://github.com/wolfpack-it)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](https://github.com/wolfpack-it/yii2-active-record-soft-delete/blob/master/LICENSE) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~70 days

Total

4

Last Release

2295d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/609e8d7caaa1dacc8b03bcc8347b5732e5a91399bb843e5b44fec66be256f35a?d=identicon)[pascalvgemert](/maintainers/pascalvgemert)

![](https://www.gravatar.com/avatar/88359ebe0456645a614e563dfbf0dd025b69ef57221050cb9eb31e3eef4dd0f9?d=identicon)[joester89](/maintainers/joester89)

![](https://www.gravatar.com/avatar/50236d89a220d6eda49f2a6c5a66779f084660c2596ef2c40225b89c4f276efb?d=identicon)[Kavantix](/maintainers/Kavantix)

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

---

Top Contributors

[![joester89](https://avatars.githubusercontent.com/u/9624366?v=4)](https://github.com/joester89 "joester89 (4 commits)")[![egovedarov](https://avatars.githubusercontent.com/u/36969715?v=4)](https://github.com/egovedarov "egovedarov (3 commits)")

### Embed Badge

![Health badge](/badges/wolfpack-it-yii2-active-record-soft-delete/health.svg)

```
[![Health](https://phpackages.com/badges/wolfpack-it-yii2-active-record-soft-delete/health.svg)](https://phpackages.com/packages/wolfpack-it-yii2-active-record-soft-delete)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[bizley/migration

Migration generator for Yii 2.

296389.5k11](/packages/bizley-migration)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11416.2k](/packages/yii2tech-illuminate)[mootensai/yii2-relation-trait

Yii 2 Models load with relation, &amp; transaction save with relation

49232.7k9](/packages/mootensai-yii2-relation-trait)

PHPackages © 2026

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