naf / orm
NAF ORM Plugin.
Requires
- php: >=8.3
- ext-pdo: *
- naf/database: ^0.2
- naf/framework: ^0.2
Requires (Dev)
- phpunit/php-code-coverage: ^12.1
- phpunit/phpunit: ^12.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-13 20:53:14 UTC
README
naf/orm
Minimalistic object mapper for your NAF application.
This plugin adds basic ORM support to NAF:
lightweight, readable, and ideal for small to medium use cases.
It supports nested entity saving (including pivot tables),
auto-discovery of related entities, and repository-based lazy-loading.
🧩 Part of the official NAF plugin collection.
Use it if you want structured object handling – but without the complexity of full-stack ORM systems.
Documentation
Everything about this package — what it does, how it is configured and what it needs — lives in the NAF documentation. Not sure which packages you need? Start here.
Install
composer require naf/orm
License
MIT. Part of NAF.
