PHPackages                             jc-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. jc-it/yii2-active-record-soft-delete

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

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

Yii2 Active Record - Soft delete

v1.2.0(3mo ago)051MITPHPPHP &gt;=8.0CI failing

Since Feb 2Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/JC-IT/yii2-active-record-soft-delete)[ Packagist](https://packagist.org/packages/jc-it/yii2-active-record-soft-delete)[ RSS](/packages/jc-it-yii2-active-record-soft-delete/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

Yii2 Active Record - Soft delete
================================

[](#yii2-active-record---soft-delete)

[![codecov](https://camo.githubusercontent.com/4522dbaeedfe8a7b0f2f22421a723825e9cda57fcdc3f6354396f483a06bdcf7/68747470733a2f2f636f6465636f762e696f2f67682f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c6574652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/jc-it/yii2-active-record-soft-delete)[![Continous integration](https://github.com/jc-it/yii2-active-record-soft-delete/actions/workflows/ci.yaml/badge.svg)](https://github.com/jc-it/yii2-active-record-soft-delete/actions/workflows/ci.yaml)[![Packagist Total Downloads](https://camo.githubusercontent.com/e0caa643501c1ad01ee525d48c05c5222b3b95b27e135e377fc07e6904f0a93b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)](https://camo.githubusercontent.com/e0caa643501c1ad01ee525d48c05c5222b3b95b27e135e377fc07e6904f0a93b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)[![Packagist Monthly Downloads](https://camo.githubusercontent.com/b051a24ef4a749f37dd4b659f8a44b83d15056ede00a779f36596f373d33bc94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)](https://camo.githubusercontent.com/b051a24ef4a749f37dd4b659f8a44b83d15056ede00a779f36596f373d33bc94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)[![GitHub tag (latest by date)](https://camo.githubusercontent.com/1f82df87ce5342bbd27fc27fa522876461ebf0c7ee8b05a7a34bc232d0a77527/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)](https://camo.githubusercontent.com/1f82df87ce5342bbd27fc27fa522876461ebf0c7ee8b05a7a34bc232d0a77527/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)[![Packagist Version](https://camo.githubusercontent.com/524744181edc765ad2f1ef5e97ae7b04c7aad004c4c1803cb65dcb183342394c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)](https://camo.githubusercontent.com/524744181edc765ad2f1ef5e97ae7b04c7aad004c4c1803cb65dcb183342394c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a632d69742f796969322d6163746976652d7265636f72642d736f66742d64656c657465)

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 jc-it/yii2-active-record-soft-delete
```

or add

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

```

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

TODO
----

[](#todo)

- Add tests

Credits
-------

[](#credits)

- [Joey Claessen](https://github.com/joester89)
- [Wolfpack IT](https://github.com/wolfpack-it/yii2-active-record-soft-delete)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance80

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~485 days

Total

4

Last Release

105d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[yii2tech/illuminate

Yii2 to Laravel Migration Package

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

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

47220.3k9](/packages/mootensai-yii2-relation-trait)[nhkey/yii2-activerecord-history

Storage history of changes to ActiveRecord

46143.4k1](/packages/nhkey-yii2-activerecord-history)[dmstr/yii2-db

Database extensions

19618.8k6](/packages/dmstr-yii2-db)[urbanindo/yii2-dynamodb

DynamoDB extensions for Yii2

1471.4k](/packages/urbanindo-yii2-dynamodb)[spanjeta/yii2-backup

Database Backup and Restore functionality

285.0k1](/packages/spanjeta-yii2-backup)

PHPackages © 2026

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