Doctrine

← Doctrine

Ashterix

docs: Doctrine section with Doctrine Behaviors and Doctrine Helper (uk + en)

en/docs/doctrine/README.md new file +12 −0

1 + # Doctrine
2 +
3 + UFO-Tech libraries for Doctrine ORM: ready-made entity behaviors and small helpers that take the routine out of mapping.
4 +
5 + ## Packages
6 +
7 + | Package | What it is | When you need it |
8 + | --- | --- | --- |
9 + | [Doctrine Behaviors](/docs/doctrine/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 |
10 + | [Doctrine Helper](/docs/doctrine/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 |
11 +
12 + The packages are independent: install either one or both.