PHPackages                             yokai/safe-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yokai/safe-delete

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yokai/safe-delete
=================

Analyze objects relation. Ensure that objects can be deleted using introspection.

00PHP

Since Jan 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yokai-php/safe-delete)[ Packagist](https://packagist.org/packages/yokai/safe-delete)[ RSS](/packages/yokai-safe-delete/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yokai Safe Delete
=================

[](#yokai-safe-delete)

[![Build Status](https://camo.githubusercontent.com/3750628701dff3e81f1c11dec2d50b06841e56fc7a79a69d9160a5de47c667da/68747470733a2f2f7472617669732d63692e6f72672f796f6b61692d7068702f736166652d64656c6574652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yokai-php/safe-delete)

todo badges

Introduction
------------

[](#introduction)

This library aims to provide a way to check whether or not it is safe to delete resources in any PHP application.

This goal is achieved by checking if the resource is used by any other resource.

Documentation
-------------

[](#documentation)

Start reading the library documentation.

- [Installation](docs/1-install.md)
- [Concepts](docs/2-concepts.md) (**highly recommended**)
- [Usage](docs/3-usage.md)

Learn more about core components.

- [Usage Finder](docs/components/usage-finder.md)
- [Object Descriptor](docs/components/object-descriptor.md)

Or jump to integrations.

RequirePurposeDocumentation`doctrine/orm`Check for usages between entities using metadata introspection[here](docs/integration/doctrine-orm.md)`symfony/translation`Describe usages with translation[here](docs/integration/symfony-translation.md)`symfony/property-access`Describe resources with property path[here](docs/integration/symfony-property-access.md)`symfony/framework-bundle`Framework integration[here](docs/integration/symfony-framework.md)If you did not find what you was looking for ? Have a look to the recipes.

- [Custom Usage Finder](docs/recipes/custom-usage-finder.md)
- [Custom Object Descriptor](docs/recipes/custom-object-descriptor.md)

MIT License
-----------

[](#mit-license)

License can be found [here](LICENSE).

Authors
-------

[](#authors)

The library was originally created by [Yann Eugoné](https://github.com/yann-eugone). See the list of [contributors](https://github.com/yokai-php/safe-delete/contributors).

---

Thank's to [Prestaconcept](https://github.com/prestaconcept) for supporting this library.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

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://www.gravatar.com/avatar/696ae505ade1f6c2c2074411d2ff191d307030fcc3c62e9b9054298f9d05f4ad?d=identicon)[yann-eugone](/maintainers/yann-eugone)

---

Top Contributors

[![yann-eugone](https://avatars.githubusercontent.com/u/1303838?v=4)](https://github.com/yann-eugone "yann-eugone (2 commits)")

### Embed Badge

![Health badge](/badges/yokai-safe-delete/health.svg)

```
[![Health](https://phpackages.com/badges/yokai-safe-delete/health.svg)](https://phpackages.com/packages/yokai-safe-delete)
```

###  Alternatives

[webbuilders-group/silverstripe-frontendgridfield

Wraps gridfield adding support for using it on the front-end.

2029.8k1](/packages/webbuilders-group-silverstripe-frontendgridfield)

PHPackages © 2026

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