Doctrine
UFO-Tech libraries for Doctrine ORM: ready-made entity behaviors and small helpers that take the routine out of mapping.
Packages
| Package | What it is | When you need it |
|---|---|---|
Doctrine Behaviors (ufo-tech/doctrine-behaviors) |
Symfony bundle: timestamps, change authors, soft delete, translations, slugs, trees, UUIDs and a change log — via an interface and a trait on the entity | Symfony 7 / 8 with Doctrine ORM 3 and DBAL 4; a replacement for KnpLabs/DoctrineBehaviors, which does not work beyond Symfony 6.3 |
Doctrine Helper (ufo-tech/doctrine-helper) |
PHP library: primary key traits and interfaces (auto-increment, UUID, uniqid) and PHP enums as the MySQL ENUM type |
Any project on Doctrine ORM 2.12+ / 3, not tied to Symfony |
The packages are independent: install either one or both.