PHPackages                             zogxray/soft-deletable-bundle - 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. zogxray/soft-deletable-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

zogxray/soft-deletable-bundle
=============================

1.0.0(7y ago)03MITPHPPHP ^7.2

Since Sep 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zogxray/soft-deletable-bundle)[ Packagist](https://packagist.org/packages/zogxray/soft-deletable-bundle)[ Docs](https://github.com/zogxray/soft-deletable-bundle)[ RSS](/packages/zogxray-soft-deletable-bundle/feed)WikiDiscussions master Synced 1mo ago

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

Soft Deletable Bundle
=====================

[](#soft-deletable-bundle)

Install
-------

[](#install)

```
composer require zogxray/soft-deletable-bundle
```

Config with defaults
--------------------

[](#config-with-defaults)

```
soft_delete:
    connections:
        default:
```

Config with custom filter and/or subscriber
-------------------------------------------

[](#config-with-custom-filter-andor-subscriber)

```
soft_delete:
    connections:
        example:
          filter: YourNamespace\App\Doctrine\Filters\SoftDeleteFilter
          subscriber: YourNamespace\App\Doctrine\Filters\SoftDeleteSubscriber
```

Register
--------

[](#register)

```
return [
    Zogxray\SoftDeletableBundle\SoftDeletableBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

```
class Order implements SoftDeletableInterface
{
    /**
     * @return \DateTime|null
     */
    public function getDeletedAt() :?\DateTime
    {
        return $this->deletedAt;
    }

    /**
     * @param \DateTime|null $deletedAt
     */
    public function setDeletedAt(?\DateTime $deletedAt): void
    {
        $this->deletedAt = $deletedAt;
    }
}
```

Troubleshooting
---------------

[](#troubleshooting)

##### Specify connection names

[](#specify-connection-names)

```
    dbal:
        default_connection: default
        connections:
            default:
                driver: 'pdo_sqlite'
                server_version: '3.15'
                charset: utf8mb4
                url: '%env(resolve:DATABASE_URL)%'
```

License
-------

[](#license)

The Soft Deletable Bundle is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2797d ago

### Community

Maintainers

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

---

Top Contributors

[![zogxray](https://avatars.githubusercontent.com/u/3336180?v=4)](https://github.com/zogxray "zogxray (2 commits)")

---

Tags

symfonydoctrinedeletesoft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zogxray-soft-deletable-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/zogxray-soft-deletable-bundle/health.svg)](https://phpackages.com/packages/zogxray-soft-deletable-bundle)
```

###  Alternatives

[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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