slendium / ocd-mariadb
MariaDB implementation of slendium/ocd.
dev-main
2026-09-10 04:58 UTC
Requires
- php: ^8.5
- ext-pdo_mysql: *
- slendium/ocd: ^0.1
Requires (Dev)
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^13.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-04 14:09:01 UTC
README
MariaDB implementation of the slendium/ocd ORM.
Installation
Run composer require slendium/ocd-mariadb to add it to your project.
Testing
Testing the implementation requires setting up a test database.
Create a file called phpunit-dbconfig.php and declare the following constants: MARIA_HOST, MARIA_DBNAME,
MARIA_USER and MARIA_PASS.
All must be strings, but the username and password may also be null.
The test database must be empty before running the tests.