Libraries tagged by tiny-blocks
tiny-blocks/ksuid
105404 Downloads
K-Sortable Unique Identifier.
tiny-blocks/encoder
105600 Downloads
Encoder and decoder for arbitrary data.
tiny-blocks/value-object
24174 Downloads
Defines the default behavior contract for PHP value objects with structural equality.
tiny-blocks/time
746 Downloads
Models time as immutable value objects for PHP: instants, durations, periods, timezones, and time-of-day, all UTC-normalized.
tiny-blocks/mapper
2594 Downloads
Maps PHP objects to and from arrays, JSON, and iterables through reflection and pluggable strategies.
tiny-blocks/http
23678 Downloads
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/collection
16585 Downloads
Models a type-safe, fluent collection API for PHP with eager and lazy pipelines over arrays, iterators, and generators.
tiny-blocks/outbox
131 Downloads
Write-side adapter for the Transactional Outbox pattern that persists domain events atomically with aggregate state through Doctrine DBAL.
tiny-blocks/math
22776 Downloads
Arbitrary-precision numbers for PHP, where arithmetic is exact and rounding is explicit.
tiny-blocks/logger
412 Downloads
Emits PSR-3 structured logs for PHP, with correlation tracking, a severity threshold, configurable redaction, and backend-neutral metrics.
tiny-blocks/http-query
174 Downloads
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-logging
164 Downloads
PSR-15 middleware that logs HTTP request and response metadata with request duration.
tiny-blocks/http-health-check
156 Downloads
PSR-15 liveness and readiness request handlers with configurable health checks for HTTP services.
tiny-blocks/http-error-handler
182 Downloads
PSR-15 error handler that maps thrown exceptions to structured JSON error responses with optional logging.
tiny-blocks/http-correlation-id
181 Downloads
Ensures every HTTP request has a correlation identifier propagated through requests, responses, and logs.