PHPackages                             rentpost/propel2-soft-delete-behavior - 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. rentpost/propel2-soft-delete-behavior

ActivePropel-behavior[Database &amp; ORM](/categories/database)

rentpost/propel2-soft-delete-behavior
=====================================

Propel2 soft\_delete behavior

1.0.1(4y ago)22.0k21MITPHPPHP &gt;=7.2.0

Since Feb 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rentpost/propel2-soft-delete-behavior)[ Packagist](https://packagist.org/packages/rentpost/propel2-soft-delete-behavior)[ Docs](https://github.com/rentpost/propel2-soft-delete-behavior)[ RSS](/packages/rentpost-propel2-soft-delete-behavior/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

propel2-soft-delete-behavior
============================

[](#propel2-soft-delete-behavior)

This "behavior" provides soft delete support for [Propel2](https://propelorm.org). Soft deleting was deprecated in Propel2 in favor of the new archivable behavior. Both have their drawbacks, but admittedly soft delete is a bit inferior. This behavior will bring back the same Propel1 behavior API and support in Propel2.

Setup
-----

[](#setup)

Just require this behavior with Composer. Propel supports a specialized Composer `type` known as a `propel-behavior`.

```
composer require rentpost/propel2-soft-delete-behavior
```

Usage
-----

[](#usage)

This behavior should be BC with the Propel1 soft\_delete behavior. Therefore, the usage is the same, so feel free to reference any existing documentation regarding soft\_delete.

That said, you'll want to add the following to your `schema.xml` file under the `table` element node, defining the column with which you wish to use for the state and timestamp of deletion.

```

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.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 ~504 days

Total

2

Last Release

1806d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b137ef566e79f531991d98195e811da3324a38baba94eac14760736e1fcddfa?d=identicon)[rentpost](/maintainers/rentpost)

---

Top Contributors

[![oojacoboo](https://avatars.githubusercontent.com/u/764664?v=4)](https://github.com/oojacoboo "oojacoboo (35 commits)")[![imfurman](https://avatars.githubusercontent.com/u/6038796?v=4)](https://github.com/imfurman "imfurman (2 commits)")[![mandi05](https://avatars.githubusercontent.com/u/6452865?v=4)](https://github.com/mandi05 "mandi05 (1 commits)")

### Embed Badge

![Health badge](/badges/rentpost-propel2-soft-delete-behavior/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)

PHPackages © 2026

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