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

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

mandi05/propel2-soft-delete-behavior
====================================

Propel2 soft\_delete behavior

0781PHP

Since Dec 3Pushed 6y agoCompare

[ Source](https://github.com/mandi05/propel2-soft-delete-behavior)[ Packagist](https://packagist.org/packages/mandi05/propel2-soft-delete-behavior)[ RSS](/packages/mandi05-propel2-soft-delete-behavior/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6452865?v=4)[Pablo P.](/maintainers/mandi05)[@mandi05](https://github.com/mandi05)

---

Top Contributors

[![oojacoboo](https://avatars.githubusercontent.com/u/764664?v=4)](https://github.com/oojacoboo "oojacoboo (30 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M542](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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