baukasten / orm
There is no license information available for the latest version (0.0.3) of this package.
Simple ORM system for PHP.
0.0.3
2025-09-24 18:57 UTC
Requires
- php: ^8.0
- ext-pdo: *
Requires (Dev)
- mikey179/vfsstream: 1.6.11
- mockery/mockery: 1.6.11
- phpunit/phpunit: ^9
README
Simple ORM system for PHP.
Features
- Annotation-based entity mapping
- CRUD operations for entities
- Relationship management (OneToMany, ManyToOne, OneToOne, ManyToMany)
- Custom query support
- Query builder for complex queries
Installation
composer require baukasten/orm
Usage
See the examples/example.php
file for usage examples.
Testing
Unit tests are available for all classes. See the tests/README.md
file for more information on running tests and test coverage.
./vendor/bin/phpunit
Requirements
- PHP 8.0 or higher
- PDO extension