Libraries tagged by php runtime
genai/routing
25 Downloads
Minimal PSR-4 standalone route matching engine (regexes baked at build, no runtime compilation), compatible with PHP 5.3.29. Attribute-driven routing (#[Route]) lives in genai/web.
genai/openapi
20 Downloads
Generates an OpenAPI 3 document at build time from your #[RestController] routes, request-body Forms/DTOs and validation constraints — baked into a reflection-free Cache\OpenApi — and ships a controller that serves /openapi.json and a Swagger UI page at /docs. PHP 5.3-safe at runtime.
genai/i18n
20 Downloads
Localization for the GenAI stack — Spring-style message keys compiled from per-locale .ini catalogs into a reflection-free Cache\Messages, a Translator bean, a global __() view helper, and a LocaleInterceptor that resolves the request locale (?lang / session / Accept-Language). PHP 5.3-safe at runtime.
genai/attribute
15 Downloads
Build-time attribute scanner that dispatches custom attributes to your handlers. PHP 8 only; it emits no runtime code itself — your handlers feed the PHP 5.3-safe *Register dumpers.
abduns/qrcode
179 Downloads
A from-scratch, framework-agnostic QR Code generator for PHP 8.2+ with zero required runtime dependencies.
milpa/skeleton
10 Downloads
The composer create-project starting point for a Milpa app: boots milpa/runtime's Kernel, serves a real HTTP response with zero database, and ships a coa CLI (doctor/validate/make/inspect, plus every plugin-declared CommandProviderInterface command) wired to milpa/devtools. Minimal by default — the agent-ready surface (MCP/tools, bin/mcp-server.php) is opt-in via `composer require milpa/tool-runtime milpa/mcp-server` or `php bin/coa agent:enable`.
getwarp/type
964 Downloads
Runtime type checking and casting in PHP
galata-eth/laravel-code-protector
114 Downloads
Laravel code protector: encrypt PHP files and load decrypted code at runtime (no Blade).
ctw/ctw-middleware-phpconfig
187 Downloads
This PSR-15 middleware allows php.ini settings to be set at runtime with values from a config file.
jobinja/blade-macro
4877 Downloads
Reusable scope-protected blade blocks, with empty I/O on runtime (replacement for @include which uses native I/O based PHP includes).
gruven/phpbotgram
10 Downloads
Modern PHP 8.5 port of the aiogram Telegram Bot framework. Fiber-based runtime, codegen-driven typed methods/types, FSM with scenes, webhook + long-polling.
genai/dto
15 Downloads
DTO support: a #[Dto] attribute, a build-time processor that compiles each DTO's getters into a JSON map, and a PHP 5.3-safe Serializer that turns DTOs (and nested/arrays of them) into arrays via that map — no runtime reflection, no toArray(). Standalone: no runtime dependencies.
eram/abzar
44 Downloads
Zero-runtime-dependency Persian (Farsi) utility toolkit for PHP 8.1+: validators (national ID, IBAN, bank card, phone), formatters (number-to-words, time-ago, ordinals), text utilities (slug, script detection, char normalization), and digit conversion.
charged/tailwindphp
33 Downloads
Pure-PHP port of the Tailwind CSS v4 compiler. Compile Tailwind utility classes at runtime with no Node.js toolchain. Powers the Charged UI component ecosystem for WordPress and Drupal.
unialteri/states
1001 Downloads
Library to create classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and this improve maintainability and workflow writing.