# Tiny Blocks > Small, focused PHP libraries. Each one solves a single problem and can be adopted on its own, without pulling in the rest. Every library is a Composer package named `tiny-blocks/`, installed with `composer require tiny-blocks/`. ## Libraries - [tiny-blocks/building-blocks](https://tiny-blocks.github.io/building-blocks/): Implements tactical DDD building blocks for PHP: entities, aggregate roots, domain events, snapshots, and upcasters. README: https://raw.githubusercontent.com/tiny-blocks/building-blocks/main/README.md - [tiny-blocks/value-object](https://tiny-blocks.github.io/value-object/): Defines the default behavior contract for PHP value objects with structural equality. README: https://raw.githubusercontent.com/tiny-blocks/value-object/main/README.md - [tiny-blocks/outbox](https://tiny-blocks.github.io/outbox/): Write-side adapter for the Transactional Outbox pattern that persists domain events atomically with aggregate state through Doctrine DBAL. README: https://raw.githubusercontent.com/tiny-blocks/outbox/main/README.md - [tiny-blocks/http](https://tiny-blocks.github.io/http/): 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. README: https://raw.githubusercontent.com/tiny-blocks/http/main/README.md - [tiny-blocks/http-correlation-id](https://tiny-blocks.github.io/http-correlation-id/): Ensures every HTTP request has a correlation identifier propagated through requests, responses, and logs. README: https://raw.githubusercontent.com/tiny-blocks/http-correlation-id/main/README.md - [tiny-blocks/http-error-handler](https://tiny-blocks.github.io/http-error-handler/): PSR-15 error handler that maps thrown exceptions to structured JSON error responses with optional logging. README: https://raw.githubusercontent.com/tiny-blocks/http-error-handler/main/README.md - [tiny-blocks/http-health-check](https://tiny-blocks.github.io/http-health-check/): PSR-15 liveness and readiness request handlers with configurable health checks for HTTP services. README: https://raw.githubusercontent.com/tiny-blocks/http-health-check/main/README.md - [tiny-blocks/http-logging](https://tiny-blocks.github.io/http-logging/): PSR-15 middleware that logs HTTP request and response metadata with request duration. README: https://raw.githubusercontent.com/tiny-blocks/http-logging/main/README.md - [tiny-blocks/http-query](https://tiny-blocks.github.io/http-query/): Typed, framework-independent toolkit for HTTP collection queries (RSQL filtering, sorting, and offset and cursor pagination) that never touches a data store. README: https://raw.githubusercontent.com/tiny-blocks/http-query/main/README.md - [tiny-blocks/collection](https://tiny-blocks.github.io/collection/): Models a type-safe, fluent collection API for PHP with eager and lazy pipelines over arrays, iterators, and generators. README: https://raw.githubusercontent.com/tiny-blocks/collection/main/README.md - [tiny-blocks/mapper](https://tiny-blocks.github.io/mapper/): Maps PHP objects to and from arrays, JSON, and iterables through reflection and pluggable strategies. README: https://raw.githubusercontent.com/tiny-blocks/mapper/main/README.md - [tiny-blocks/time](https://tiny-blocks.github.io/time/): Models time as immutable value objects for PHP: instants, durations, periods, timezones, and time-of-day, all UTC-normalized. README: https://raw.githubusercontent.com/tiny-blocks/time/main/README.md - [tiny-blocks/math](https://tiny-blocks.github.io/math/): Arbitrary-precision numbers for PHP, where arithmetic is exact and rounding is explicit. README: https://raw.githubusercontent.com/tiny-blocks/math/main/README.md - [tiny-blocks/currency](https://tiny-blocks.github.io/currency/): Models ISO-4217 currencies as a PHP enum, with per-currency fraction digit resolution. README: https://raw.githubusercontent.com/tiny-blocks/currency/main/README.md - [tiny-blocks/country](https://tiny-blocks.github.io/country/): Provides ISO 3166-1 country and ISO 3166-2 subdivision value objects for PHP, with Alpha-2, Alpha-3, numeric, and IANA timezone resolution. README: https://raw.githubusercontent.com/tiny-blocks/country/main/README.md - [tiny-blocks/ksuid](https://tiny-blocks.github.io/ksuid/): K-Sortable Unique Identifier. README: https://raw.githubusercontent.com/tiny-blocks/ksuid/main/README.md - [tiny-blocks/encoder](https://tiny-blocks.github.io/encoder/): Encoder and decoder for arbitrary data. README: https://raw.githubusercontent.com/tiny-blocks/encoder/main/README.md - [tiny-blocks/logger](https://tiny-blocks.github.io/logger/): Emits PSR-3 structured logs for PHP, with correlation tracking, a severity threshold, configurable redaction, and backend-neutral metrics. README: https://raw.githubusercontent.com/tiny-blocks/logger/main/README.md - [tiny-blocks/environment-variable](https://tiny-blocks.github.io/environment-variable/): Provides a type-safe environment variable reader for PHP, with strict integer and boolean conversion. README: https://raw.githubusercontent.com/tiny-blocks/environment-variable/main/README.md - [tiny-blocks/docker-container](https://tiny-blocks.github.io/docker-container/): Manages Docker containers programmatically for PHP, aimed at integration tests and disposable infrastructure. README: https://raw.githubusercontent.com/tiny-blocks/docker-container/main/README.md