php/.claude-plugin/api/commands/generate.md
Snider 4b24a6d186
Some checks failed
CI / PHP 8.4 (push) Failing after 1m51s
CI / PHP 8.3 (push) Failing after 2m4s
feat: add claude plugin for PHP/Laravel development
Skills: php, php-agent, laravel
API: route generation (TS/JS/OpenAPI from Laravel routes)
Hooks: auto-format PHP with Pint, debug statement warnings
2026-03-09 18:15:42 +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.