PHPackages                             mdeboer/doctrine-behaviour - 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. mdeboer/doctrine-behaviour

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

mdeboer/doctrine-behaviour
==========================

Library of different entity behaviours (timestampable etc.)

v5.1.0(7mo ago)016.6k↓54.2%MITPHPPHP ^8.1CI passing

Since May 18Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/mdeboer/doctrine-behaviour)[ Packagist](https://packagist.org/packages/mdeboer/doctrine-behaviour)[ RSS](/packages/mdeboer-doctrine-behaviour/feed)WikiDiscussions main Synced yesterday

READMEChangelog (6)Dependencies (6)Versions (14)Used By (0)

Doctrine Behaviour
==================

[](#doctrine-behaviour)

[![Build Status](https://camo.githubusercontent.com/464839e87824b12e33b5ccf086ab3ce58bc0f971ce64b5f8e52e6c63f9ab6934/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6465626f65722f646f637472696e652d6265686176696f75722f706870756e69742e796d6c)](https://github.com/mdeboer/doctrine-behaviour/actions) [![issues](https://camo.githubusercontent.com/8489766e06ea7ecde4cbe7651e98b8ff9e66495618922d12d22061a762f0e444/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d6465626f65722f646f637472696e652d6265686176696f7572)](https://github.com/mdeboer/doctrine-behaviour/issues) [![license](https://camo.githubusercontent.com/cfdae6ac7cdc39b6a0c12afef1b2ea249dabfa77ac1354f86024a480f306fa3f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6465626f65722f646f637472696e652d6265686176696f7572)](https://github.com/mdeboer/doctrine-behaviour/blob/main/LICENSE) [![dependencies](https://camo.githubusercontent.com/5c2819285b891d499f0831017880fc67777a26a23606f53924fe3e7e99d369f1/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f6769746875622f6d6465626f65722f646f637472696e652d6265686176696f7572)](https://libraries.io/packagist/mdeboer%2Fdoctrine-behaviour) [![downloads](https://camo.githubusercontent.com/5b78b45813c367f6efadce2872d484892e33758ed6f68bf71d73199f4039caa4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6465626f65722f646f637472696e652d6265686176696f7572)](https://packagist.org/packages/mdeboer/doctrine-behaviour)

> Library for different Doctrine entity behaviours (timestampable, expirable etc.)

Requirements
------------

[](#requirements)

- PHP 8.1+
- Doctrine ORM 2
- intl extension

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

[](#installation)

```
$ composer require mdeboer/doctrine-behaviour
```

Running tests
-------------

[](#running-tests)

```
$ vendor/bin/phpunit

```

Behaviours
----------

[](#behaviours)

- [Timestampable](docs/Timestampable.md) - For automatically timestamping entities (created at, updated at)
- [SoftDeletable](docs/SoftDeletable.md) - For soft-deleting entities
- [Expirable](docs/Expirable.md) - For entities that can have an expiration date
- [Translatable](docs/Translatable.md) - For (partially) translatable entities

License
-------

[](#license)

MIT

Changelog
---------

[](#changelog)

See [CHANGELOG](./CHANGELOG.md)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance64

Regular maintenance activity

Popularity26

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~202 days

Total

12

Last Release

216d ago

Major Versions

v1.0.1 → v2.0.02022-06-15

v2.1.0 → v3.0.02023-07-30

v3.0.0 → v4.0.02023-09-12

v4.1.1 → v5.0.02025-02-21

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

v5.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d9168c77dce7e3aaa2c5a548de10bbef4221f4e803decab296c46d2242d65a3?d=identicon)[mdeboer](/maintainers/mdeboer)

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mdeboer-doctrine-behaviour/health.svg)

```
[![Health](https://phpackages.com/badges/mdeboer-doctrine-behaviour/health.svg)](https://phpackages.com/packages/mdeboer-doctrine-behaviour)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)[symfony/ai-store

Low-level abstraction for storing and retrieving documents in a vector store.

21400.9k113](/packages/symfony-ai-store)

PHPackages © 2026

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