andrecorugda/ai-openrouter-gateway
A Laravel package that integrates the OpenRouter AI gateway, giving PHP applications a simple, unified way to send prompts and manage models, API keys, and responses through OpenRouter's multi-model API.
{prefix}/docs page and inside the panel-embedded "API docs" iframe. This is a UI/UX polish item, but it affects a surface your internal teams and integrating partners actually look at — theme-consistent docs reduce friction in demos, support, and onboarding.config('ai-gateway.api.docs.dark_mode') and the AI_GATEWAY_API_DOCS_DARK env var, defaulting to true. That supports a real PM decision: ship a sensible default for most deployments while letting brand-sensitive or light-theme-only products opt out without a fork. Low-cost knobs like this are cheap to support and reduce "can you change this for us" requests.^2.0 (v2.0.2). This is a first-class roadmap input: which Filament major version your admin panel runs determines which package line you adopt, and it implies parallel maintenance tracks rather than a single upgrade path.Consider adopting when:
Look elsewhere or pause when:
^2.0, so evaluate the v2 line separately; this release note tells you nothing about v2's feature parity.For executives: This is a maintenance release on an existing Laravel/Filament package that provides an AI gateway with built-in, auto-generated API documentation. The change is small and low-risk — dark-mode styling for the documentation pages, controllable by a config flag with a safe default. The strategic point is not the toggle; it's that the package continues to be actively maintained on the Filament 3 line, and that a separate, current line (^2.0) exists for teams on Filament 4/5. Read this as a healthy maintenance signal, not a reason to re-platform.
For engineering: v1.3.2 is cosmetic and additive. Dark mode for the Scalar reference is on by default and can be disabled via config('ai-gateway.api.docs.dark_mode') or AI_GATEWAY_API_DOCS_DARK=false; it applies to both the standalone {prefix}/docs route and the panel-embedded iframe, so theming stays consistent. No migrations, no API contract changes, no action required to stay current. The one thing to record in your dependency notes: this is the Filament 3 track, and Filament 4/5 requires ^2.0 (currently v2.0.2) — pin accordingly and budget a line upgrade if a Filament major upgrade is on your roadmap.
Framing for the decision: adopt/keep on the Filament 3 line for its documentation DX and maintained status; treat the Filament 4/5 line split as an explicit roadmap item to validate (feature parity and support expectations) rather than an assumption.
How can I help you explore Laravel packages today?