Libraries tagged by genai
genai/http
170 Downloads
Minimal HTTP layer (Request/Response/JsonResponse) and a Dispatcher that wires the router and container, compatible with PHP 5.3.29
genai/google-form
74 Downloads
Submit data to a Google Form from the server: POST to the form's formResponse endpoint, mapping your fields to entry.NNN ids. Best-effort with a short timeout so it never blocks the request (it returns false rather than throwing). curl with a stream fallback. PHP 5.3-safe.
genai/dto
113 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.
genai/di
160 Downloads
Popular DI attributes (#[Service], #[Repository], #[Configuration], #[Bean], #[Value]) and their processor, targeting GenAI\Container. Build-time (PHP 8).
genai/container
205 Downloads
Minimal PSR-11 dependency-injection container, compatible with PHP 5.3.29
genai/boot
168 Downloads
Application kernel with Composer-based package auto-discovery (Laravel style): reads each installed component's extra.genai.processors so the app never hand-lists them, then boots the compiled app into a ready Dispatcher. Build-time uses PHP 8; the Kernel + runtime boot are PHP 5.3-safe.
genai/attribute
160 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.
assistant-engine/open-functions-core
2606 Downloads
A core library that provides a framework for building and registering Open Functions for AI-powered applications. It simplifies integration with large language models by standardizing function definitions, message handling, and response formatting, reducing boilerplate for advanced assistant capabilities.
particle-academy/prism-opentelemetry
7 Downloads
OpenTelemetry bridge for Prism: turns Prism telemetry events into GenAI-convention spans for Arize Phoenix and any OTLP backend.
cattyneo/laravel-genai
2 Downloads
A comprehensive Laravel package for integrating multiple AI providers (OpenAI, Gemini, Claude, Grok) with unified API
katema/laravel-genai
2 Downloads
Drop-in Generative AI for Laravel applications - opinionated, extensible, and production-ready
swiftphp.ma/installer
7 Downloads
Modern PHP framework with AI-powered CLI, built-in auth, multi-tenant support, and 70% less code
hudhaifas/silverstripe-gpt-actions
353 Downloads
Expose secure server-side actions to ChatGPT via OpenAPI and expirable API keys.
cognesy/instructor-struct
240 Downloads
Structured data extraction in PHP, powered by LLMs - core library
genai/console
0 Downloads
CLI layer (the twin of genai/web): a #[Command] attribute, a build-time CommandProcessor that compiles commands.php, and a PHP 5.3-safe Console runner that maps $argv to a command bean. Shares the same compiled container as the web front.