Packages from univeros
-
PHP
univeros/agent-spec
Generates AI-readable manifests describing every framework package and the host application.
-
PHP
univeros/bootstrap
Zero-to-running project bootstrap: the bin/altair new command that materialises a runnable Altair API from the skeleton template.
-
PHP
univeros/cache
PSR-6 and PSR-16 caching with pluggable storage backends for filesystem, Redis, Predis, and Memcached.
-
-
PHP
univeros/common
Pure PHP utilities — string helpers, array manipulation, and a key-value registry — shared across every Altair package.
-
PHP
univeros/configuration
Composable, container-aware configuration: loads .env via phpdotenv 5 and wires dependency bindings through a unified interface.
-
PHP
univeros/container
Reflection-backed PSR-11 dependency-injection container with auto-wiring, contextual bindings, tagged services, decorators, and child scopes.
-
PHP
univeros/cookie
Immutable value objects for HTTP cookies, plus a manager that reads, writes, and modifies them on PSR-7 requests and responses.
-
PHP
univeros/courier
Synchronous command bus that routes immutable message objects to their handlers through a configurable middleware pipeline.
-
PHP
univeros/data
Trait-composed, immutable-by-default data objects with JSON serialization, Serializable support, and Carbon-powered date mutators.
-
PHP
univeros/doctor
bin/altair doctor — health checks with agent-actionable output. Deterministic JSON for agents, scannable text for humans.
-
PHP
univeros/eval
bin/altair eval — a sandboxed scratchpad that executes a short PHP snippet inside the project's container in a guarded subprocess (disable_functions, open_basedir, memory + wall-clock limits) and returns a structured JSON result. The agent's "let me check" primitive.
-
PHP
univeros/events
Append-only mutation event log (.altair/events.jsonl) — session memory for agents and humans.
-
PHP
univeros/examples
Curated, browsable library of idiomatic Univeros patterns plus CLI + MCP tools so agents can discover and read them.
-
PHP
univeros/filesystem
Flysystem v3 wrapper offering one swap-friendly API for local, S3, SFTP, FTP, and Dropbox storage, wired to the Altair container.
-
-
PHP
univeros/happen
PSR-14 event dispatcher with priority ordering, subscriber grouping, provider-based registration, wildcard listeners, and batch dispatch.
-
PHP
univeros/http
PSR-15 HTTP foundation with the Action/Domain/Input/Responder lifecycle, FastRoute routing, content negotiation, and JWT authentication.
-
PHP
univeros/idempotency
Stripe-style Idempotency-Key primitive for Univeros: storage contract, adapters, and (in companion packages) PSR-15 middleware + spec block.
-
PHP
univeros/index
bin/altair index — a symbol-usage index built from the PHP AST plus spec awareness. Answers find-usages, implementers, callers-of, dead-code, and refactor-impact queries in milliseconds, as deterministic JSON for agents and CI. SQLite-backed.
-
PHP
univeros/introspection
What's wired into this project right now? CLI commands + inspectors for the Container, routes, listeners, middleware, manifests, specs, and config.
-
PHP
univeros/mcp
Model Context Protocol server: exposes the framework's capabilities as MCP tools so any MCP-capable agent can drive an Altair project natively.
-
PHP
univeros/messaging
Thin MessageBus + worker bridge over Symfony Messenger, wired through Altair's Container.
-
PHP
univeros/middleware
Generic, domain-agnostic middleware pipeline: a typed Payload flows through an ordered stack driven by a Runner (distinct from PSR-15 HTTP middleware).
-
PHP
univeros/migration-intelligence
bin/altair db:migration-plan — proposes safe Cycle migrations from spec/entity diffs with read-only safety checks (NOT NULL backfill, unique dupes, FK orphans, type-cast, large tables) and two-phase rename/type-change plans. Deterministic JSON for agents and CI.
-
PHP
univeros/observability
bin/altair observability:* — framework-native runtime observability. OpenTelemetry-compatible spans + metrics emitted natively (OTLP-JSON over HTTP, no SDK dependency), a PSR-15 middleware for per-request tracing, and a JSONL log under .altair/observability/ for local inspection and after-the-fact a
-
PHP
univeros/observatory
Observatory — a dev-only web monitoring panel for Altair apps. A thin, gated presentation layer over the framework's introspection, doctor, events, messaging and persistence data sources.
-
PHP
univeros/persistence
Thin Repository + UnitOfWork contract over Cycle ORM v2, wired through Altair's Container.
-
PHP
univeros/profiling
bin/altair profile — framework-native sampling profiler. Answers "where does my code spend time?" via excimer (or xdebug) sampling, builds a weighted call tree + hotspot table + flamegraph SVG, and diffs two profiles to flag regressions. Deterministic JSON for agents and CI.
-
PHP
univeros/sanitation
Composable input sanitation that transforms untrusted input into a safe, canonical form before it reaches your domain logic.
-
PHP
univeros/scaffold
Spec-to-API code generator: YAML spec in, Action/Input/Responder + OpenAPI + tests out.
-
PHP
univeros/security
Cryptographic primitives for key derivation (HKDF, PBKDF2), symmetric encryption, and timing-safe MAC verification.
-
PHP
univeros/session
Server-side session storage with pluggable handlers for the filesystem, MongoDB, PDO databases (MySQL/PostgreSQL/SQLite), and Redis.
-
PHP
univeros/structure
Typed data structures — Map, Set, Vector, Deque, Queue, Stack, PriorityQueue — inspired by ext-ds, in pure PHP with no C extension.
-
PHP
univeros/suggest
bin/altair suggest — walks the introspection surface and proposes refactors: dead bindings, fat constructors, dead events, routes without specs, orphan middleware. Deterministic JSON for agents and CI.
-
PHP
univeros/test-reporter
AI-native PHPUnit reporter: structured JSON output mapped to the production source under test.
-
PHP
univeros/tinker
bin/altair tinker — an interactive PsySH REPL with the DI container in scope and a doctor-style preamble of what's wired. A local debugging tool for developers, not an agent surface.
-
-
PHP
univeros/validation
Rule-based input validation that rejects values not conforming to declared constraints — the gatekeeping counterpart to sanitation.
-
PHP
univeros/webhooks
First-class webhook framework for Univeros: signing primitives, inbound verify middleware, and an outbound dispatcher with retry / dead-letter / replay.