Small, sharp PHP packages for talking to a database.
A thin PDO layer with named connections, a query builder, forward-only results, and nested transactions.
composer require dirthara/database
Describe a table once and compile the DDL for MySQL, PostgreSQL, SQLite or SQL Server.
composer require dirthara/schema
Ordered collections with integer or string keys, in a mutable and an immutable variant.
composer require dirthara/collection
Map a class to a table with attributes, then read and write it through a typed store.
composer require dirthara/entity
Versioned schema changes over Database and Schema. A scaffold; no public API yet.
composer require dirthara/migration
A PSR-11 dependency injection container with autowiring, scopes, tags, and decorators.
composer require dirthara/container
PSR-14 event dispatching, listener registration, and event publishing with plain PHP objects.
composer require dirthara/events
Transport-neutral, one-way message publishing with plain PHP objects.
composer require dirthara/messaging
Transport-neutral message queues and workers, with retries, backoff, and failed messages.
composer require dirthara/queue
HTTP for the Dirthara framework. A scaffold; no public API yet.
composer require dirthara/http
Match HTTP methods and paths to handlers, and generate paths for named routes.
composer require dirthara/routing
Validate input arrays against rules per field, with nested input and structured errors.
composer require dirthara/validation
Standalone policy-based authorisation: ask every policy, get one explained result.
composer require dirthara/authorisation
The rules every Dirthara package is written to: style, naming, testing, security, and what ships.