mdeboer/doctrine-behaviour

Library of different entity behaviours (timestampable etc.)

Installs: 10 888

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mdeboer/doctrine-behaviour

v5.0.0 2025-02-21 14:08 UTC

This package is auto-updated.

Last update: 2025-10-26 08:33:07 UTC


README

Build Status issues license dependencies downloads

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

Requirements

  • PHP 8.1+
  • Doctrine ORM 2
  • intl extension

Installation

$ composer require mdeboer/doctrine-behaviour

Running tests

$ vendor/bin/phpunit

Behaviours

  • Timestampable - For automatically timestamping entities (created at, updated at)
  • SoftDeletable - For soft-deleting entities
  • Expirable - For entities that can have an expiration date
  • Translatable - For (partially) translatable entities

License

MIT

Changelog

See CHANGELOG