Libraries tagged by genai
llm-agents/agents
20105 Downloads
LLM Agents PHP SDK - Autonomous Language Model Agents for PHP
cognesy/instructor-php
134485 Downloads
The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control
oro/gen-ai
59472 Downloads
OroCommerce AI Generation Integration
cognesy/instructor-struct
507 Downloads
Structured data extraction in PHP, powered by LLMs - core library
particle-academy/prism-opentelemetry
145 Downloads
OpenTelemetry bridge for Prism: turns Prism telemetry events into GenAI-convention spans for Arize Phoenix and any OTLP backend.
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.
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.
genai/web
166 Downloads
Web/MVC layer over genai/http: #[Controller]/#[RestController] (with a base path) and #[Route] attributes, a View value object, a default genai/view engine (override with #[ViewRegister]), and a dispatcher. Routes compile to genai/routing's standalone matcher. Runtime is PHP 5.3-safe; the attributes/processors are PHP 8 build-time.
genai/view
166 Downloads
Minimal PHP template renderer producing HTML strings, compatible with PHP 5.3.29
genai/validation
115 Downloads
Attribute-based validation compiled to a reflection-free validator. Put #[NotBlank]/#[Email]/#[Length]/#[Pattern]/#[Matches] on a #[Validate] form class; a build-time processor bakes the rules into Cache\Validation. At runtime, validate a populated form object -> a field=>error map, no reflection. PHP 5.3-safe runtime.
genai/trace
163 Downloads
Request correlation IDs for centralized logging. A TraceInterceptor reads X-Request-Id (or generates one), exposes it via a TraceContext bean + a global trace_id(), echoes it on the response, and a Monolog processor stamps it on every log line. PHP 5.3-safe at runtime.
genai/sql-mapper
162 Downloads
MyBatis-style SQL mapper: mark an interface #[Mapper] and its methods #[Select]/#[Insert]/#[Update]/#[Delete] with the SQL. A build-time processor compiles a reflection-free Cache\ implementation (prepared statements, #{name} bound params, optional row->object hydration) and registers it as a container bean keyed by the interface. Self-contained: a bundled DatabaseConfig provides the 'PDO' bean from a [database] group in the app's app.ini, so you only edit config. Runtime is PHP 5.3-safe.