Libraries for well‑described Laravel APIs
JSON:API resources, OpenAPI documents generated from your code, and API revisions — designed to work together, documented in one place.
The libraries
Each one stands alone, and each one knows the others.
Laravel JSON:API
JSON:API 1.1 resources for Laravel, with typed values, validated includes and fieldsets, and API revisions.
ark4ne/laravel-json-api Works with Laravel API Revisions
Typed schemas for Laravel resources and form requests, evolved through dated API revisions, Stripe-style.
ark4ne/laravel-api-revisions Works with Laravel OpenAPI Generator
Generates OpenAPI 3.0, 3.1 and 3.2 documents from a Laravel application, its routes, form requests and resources.
ark4ne/laravel-openapi-generator Works with OpenAPI Writer
Framework-agnostic, fluent and immutable PHP builder for OpenAPI 3.0, 3.1 and 3.2 documents, written as JSON or YAML and validated.
ark4ne/openapi-writer Works with Documentation for people and agents
The same pages, read in a browser or handed to a model.
One search
Search the library you are reading, or every library at once, from any page with ⌘K.
Every page as Markdown
Copy a page as Markdown, or open its source, to paste it into a chat or a prompt.
llms.txt
An index and the full text of every library for language models and coding agents.
Written next to the code
Each library keeps its documentation in its own repository, checked with every change.