Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    php openapi generator

    1

    Generate valid OpenAPI 3.0 specifications directly from PHP routes, controllers, and validation logic.

    $7.20

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    php openapi generator

    php openapi generator

    Example session with this skill installed

    Scan my Laravel routes/api.php and the UserController to create an OpenAPI spec.

    • Read your context and instructions
    • Compiled the php openapi generator

    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'

    Connects securely to your tools. The creator never sees your data.

    What you get

    Sync API documentation with existing PHP source code.Prepare legacy PHP APIs for integration with API gateways.Enable frontend teams to generate type-safe client SDKs.Automate the creation of Swagger/Redoc documentation pages.

    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

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    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 1 month ago

    • Passed all security checks, Safe to install

    Listed1 month ago

    What's inside

    Frequently Asked Questions