Skip to content
@tiny-blocks

Tiny Blocks

Implementations for Domain Driven Design building blocks and utility classes in PHP.

Pinned Loading

  1. tiny-blocks tiny-blocks Public

    Project overview.

    Markdown 6 1

  2. collection collection Public

    Models a type-safe, fluent collection API for PHP with eager and lazy pipelines over arrays, iterators, and generators.

    PHP 2

  3. building-blocks building-blocks Public

    Implements tactical DDD building blocks for PHP: entities, aggregate roots, domain events, snapshots, and upcasters.

    PHP 2

  4. outbox outbox Public

    Implements the Transactional Outbox pattern. Persists domain events atomically with aggregate state changes through a customizable table schema, reflection-based payload serialization, and built-in…

    PHP 2

  5. mapper mapper Public

    Maps PHP objects to and from arrays, JSON, and iterables through reflection and pluggable strategies.

    PHP 3

  6. docker-container docker-container Public

    Manages Docker containers programmatically for PHP, aimed at integration tests and disposable infrastructure.

    PHP 4

Repositories

Showing 10 of 22 repositories
  • http Public

    Implements PSR-7, PSR-15, PSR-17 and PSR-18 HTTP primitives for PHP, with a fluent response builder, cookies, cache control, and a PSR-18 client facade.

    tiny-blocks/http's past year of commit activity
    PHP 3 MIT 0 0 0 Updated Sep 10, 2026
  • http-query Public

    Typed, framework-independent toolkit for HTTP collection queries (RSQL filtering, sorting, and offset and cursor pagination) that never touches a data store.

    tiny-blocks/http-query's past year of commit activity
    PHP 1 MIT 0 0 0 Updated Sep 3, 2026
  • http-error-handler Public

    PSR-15 error handler that maps thrown exceptions to structured JSON error responses with optional logging.

    tiny-blocks/http-error-handler's past year of commit activity
    PHP 1 MIT 0 0 0 Updated Aug 28, 2026
  • time Public

    Models time as immutable value objects for PHP: instants, durations, periods, timezones, and time-of-day, all UTC-normalized.

    tiny-blocks/time's past year of commit activity
    PHP 2 MIT 0 0 0 Updated Aug 25, 2026
  • logger Public

    Emits PSR-3 structured logs for PHP, with correlation tracking and configurable sensitive data redaction.

    tiny-blocks/logger's past year of commit activity
    PHP 2 MIT 0 0 0 Updated Aug 24, 2026
  • value-object Public

    Defines the default behavior contract for PHP value objects, with immutability and structural equality.

    tiny-blocks/value-object's past year of commit activity
    PHP 3 MIT 0 0 0 Updated Aug 19, 2026
  • math Public

    Value Objects for handling arbitrary precision numbers.

    tiny-blocks/math's past year of commit activity
    PHP 3 MIT 0 0 0 Updated Aug 20, 2026
  • tiny-blocks Public

    Project overview.

    tiny-blocks/tiny-blocks's past year of commit activity
    Markdown 6 MIT 1 0 0 Updated Aug 20, 2026
  • outbox Public

    Implements the Transactional Outbox pattern. Persists domain events atomically with aggregate state changes through a customizable table schema, reflection-based payload serialization, and built-in support for event schema versioning.

    tiny-blocks/outbox's past year of commit activity
    PHP 2 MIT 0 0 0 Updated Aug 19, 2026
  • mapper Public

    Maps PHP objects to and from arrays, JSON, and iterables through reflection and pluggable strategies.

    tiny-blocks/mapper's past year of commit activity
    PHP 3 MIT 0 0 0 Updated Aug 20, 2026

Top languages

Loading…

Most used topics

Loading…