Skip to content

Cheatsheets

Quick reference guides for each package — code-verified API surfaces and usage patterns.

Instructor

Structured output extraction from LLMs — core API, response models, validation, and streaming

Polyglot

Unified LLM API — inference, embeddings, request building, streaming, and provider configuration

Agents

Agent loop, state model, tools, context management, hooks, and subagent orchestration

AgentCtrl

External coding agent control — Claude Code, Codex, OpenCode, and Gemini CLI bridges

Sandbox

Code execution sandbox — execution policies, drivers, streaming results, and security

HTTP Client

Framework-agnostic HTTP client — requests, responses, streaming, pooling, and middleware

Laravel

Laravel integration — service provider, facades, config publishing, and Artisan commands

Config

Configuration loading — config files, base paths, entries, and environment resolution

Dynamic

Runtime data structures — schema-driven immutable objects with validation

Events

PSR-compatible event system — dispatching, listeners, wiretaps, and event handling

Logging

Structured logging pipeline — filters, enrichers, formatters, and log drivers

Messages

Message store, content parts, tool calls, and multi-section conversation management

Metrics

Metrics collection and export — collectors, registries, exporters, and event integration

Pipeline

Data processing pipelines — builder, error strategies, processors, and pipe composition

Schema

PHP type-to-JSON Schema mapping — schema building, factory, callable schemas, and rendering

Setup

CLI commands for publishing package resources and config files, with validation and caching support

Stream

Composable stream transformations — transducers, filters, mappers, and lazy evaluation

Templates

Template engine abstraction — Twig, Blade, Arrowpipe, and DSN-based template resolution

Utils

Core utilities — JSON processing, collections, text manipulation, and helper functions

Xprompt

Prompts-as-code — classes, composition, variants, registry, template-backed bodies