PHPackages                             yiisoft-custom/yii2-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. yiisoft-custom/yii2-soft-delete

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

yiisoft-custom/yii2-soft-delete
===============================

simple soft delete,bases on Yii2 ActiveRecord

v1.1(5y ago)0165MITPHPPHP &gt;=5.4

Since Nov 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MrYup/soft_deleted)[ Packagist](https://packagist.org/packages/yiisoft-custom/yii2-soft-delete)[ RSS](/packages/yiisoft-custom-yii2-soft-delete/feed)WikiDiscussions main Synced today

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

Soft delete
===========

[](#soft-delete)

This is a soft delete trait for yii2

Require yiisoft/yii2

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

[](#installation)

```
composer require simple/soft-delete
```

Notice
======

[](#notice)

make sure the table that needs soft-delete has the column marks whether the row was deleted, generally named like `deleted_at`,`is_deleted`

Default setting
===============

[](#default-setting)

```
    column name:is_delete
    sorft delete value:1
    un-sorft-deleted value:0

```

Usage
=====

[](#usage)

```

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

2062d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

yii2soft-delete

### Embed Badge

![Health badge](/badges/yiisoft-custom-yii2-soft-delete/health.svg)

```
[![Health](https://phpackages.com/badges/yiisoft-custom-yii2-soft-delete/health.svg)](https://phpackages.com/packages/yiisoft-custom-yii2-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)[nhkey/yii2-activerecord-history

Storage history of changes to ActiveRecord

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

Database extensions

19656.2k6](/packages/dmstr-yii2-db)

PHPackages © 2026

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