Works with the AI tools you already use
php openapi generator
Generate valid OpenAPI 3.0 specifications directly from PHP routes, controllers, and validation logic.
Secure checkout via Stripe
See it in action
You say
Scan my Laravel routes/api.php and the UserController to create an OpenAPI spec.
Your agent does
openapi: 3.0.3 info: title: User API version: 1.0.0 paths: /users/{id}: get: summary: Get user by ID parameters: - name: id in: path required: true schema: type: integer responses: '200': content: application/json: schema: $ref: '#/components/schemas/User'
What you get
About this skill
The problem
Writing OpenAPI specs for legacy or undocumented PHP APIs is tedious and prone to human error. Developers often waste hours manually syncing YAML files with their Laravel, Slim, or plain PHP route and controller logic.
What it does
- Scans PHP route files and controllers to identify HTTP methods, paths, and parameters.
- Extracts request validation rules and response shapes directly from the source code.
- Maps PHP data structures to valid OpenAPI 3.0 types (string, integer, boolean, etc.).
- Organizes repeated data structures into reusable components and schemas via $ref.
- Detects authentication middleware and security requirements like Bearer tokens or API keys.
Frameworks & tools
Supports Laravel, Slim, and plain PHP. Generates OpenAPI 3.0.3 YAML compatible with Swagger UI, Redoc, and Postman.
Why this beats prompting it yourself
Generic prompts often hallucinate endpoints or invent response fields that do not exist. This skill follows a strict extraction logic that prioritizes code-level evidence, marking gaps with TODO comments instead of fabricating data.
Use cases
- Documenting an existing Laravel API for a new frontend team.
- Generating a spec file to bootstrap client SDK generation.
- Creating a Postman collection source for manual testing.
- Audit of internal endpoints for security and compliance reviews.
Known limitations
Designed for documenting existing code only, not for scaffolding new endpoints. Requires access to both route definitions and controller logic for accurate schema generation.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
Frequently Asked Questions
Popular in Documentation
incident-postmortem
Transform raw incident logs and Slack threads into blameless, structured postmortems and 5-Whys RCA reports.

Changelog & Release Notes Generator
Generate beautiful release notes and changelogs automatically from commits, pull requests, and deployments.
git-commit-writer
Writes conventional commit messages by analyzing your staged git changes. Detects commit type, scope, and breaking changes automatically.
readme-generator
Generates a complete, polished README.md by scanning your actual project structure, dependencies, and code.