MariaDB implementation of slendium/ocd.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
C. Fahner bd73a70e3a Implement update command (#25)
Resolves #4

Co-authored-by: C. Fahner <cfahner.git.ixuk9phi@slendium.org>
Reviewed-on: #25
2026-10-30 06:52:10 +01:00
src Implement update command (#25) 2026-10-30 06:52:10 +01:00
tests/Unit/Common Upgrade to slendium/ocd v0.2 (#12) 2026-10-27 06:50:17 +01:00
.gitignore Implement enforceSchema() (#6) 2026-09-07 15:20:17 +02:00
composer.json Upgrade to slendium/ocd v0.2 (#12) 2026-10-27 06:50:17 +01:00
composer.lock Upgrade to slendium/ocd v0.2 (#12) 2026-10-27 06:50:17 +01:00
phpstan.neon Implement enforceSchema() (#6) 2026-09-07 15:20:17 +02:00
phpunit-bootstrap.php Implement enforceSchema() (#6) 2026-09-07 15:20:17 +02:00
phpunit.xml Implement enforceSchema() (#6) 2026-09-07 15:20:17 +02:00
README.md Implement enforceSchema() (#6) 2026-09-07 15:20:17 +02:00

ocd-mariadb

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.