Repository navigation
Releases
Releases · Maatify-ltd/php-persistence
v1.0.0-rc.1
Overview
maatify/php-persistence 1.0.0-rc.1 is the first release candidate for a direct-PDO library offering Transaction, Pagination, and Ordering utilities for MySQL and MariaDB.
What’s included
- Transaction — run callbacks in a package-owned transaction or participate in a caller-owned transaction. Owned transactions can opt in to bounded deadlock replay.
- Pagination — normalize page and sort input, apply a sort whitelist, and return a bounded, typed page result. Snapshot consistency depends on the caller’s transaction and isolation level.
- Ordering — read the next position, lock a scope for inserts, or move a row within an integer ordering scope. See the reference for concurrency behavior and the MariaDB error
1020hazard.
Installation and compatibility
Install the exact release candidate from Packagist:
composer require maatify/php-persistence:1.0.0-rc.1Requires PHP ^8.4, ext-pdo, and ext-pdo_mysql. The package can coexist with maatify/persistence; consumer migration requires adapting to the new API. This candidate establishes no Stable support line. Database evidence is limited to the versions and settings documented in the reference.