php/.claude-plugin/commands/api-generate.md
Snider e27f8b1088
Some checks failed
CI / PHP 8.4 (push) Failing after 2m3s
CI / PHP 8.3 (push) Failing after 2m11s
fix(plugin): add commands/ auto-discover directory, fix plugin.json schema
Commands must be in `.claude-plugin/commands/` for Claude Code auto-discovery.
Fixed plugin.json to use `{name, description, file}` array format.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 10:18:41 +00:00

501 B


name: generate description: Generate TypeScript/JavaScript API client from Laravel routes args: [--ts|--js] [--openapi]

Generate API Client

Generates a TypeScript or JavaScript API client from your project's Laravel routes.

Usage

Generate TypeScript client (default): core:api generate

Generate JavaScript client: core:api generate --js

Generate OpenAPI spec: core:api generate --openapi

Action

This command will run a script to parse the routes and generate the client.