generate_rate_limited_endpoint
Generate a Laravel API endpoint with rate limiting, authentication, validation, and throttling to protect your routes from abuse.
Instructions
Generate a Laravel 13.2 API endpoint with rate limiting, auth, validation, and throttling middleware.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Route path e.g. 'api/users' | |
| method | No | GET | |
| rateDecay | No | Rate limit decay in minutes | |
| rateLimit | No | Requests per minute | |
| modelClass | No | Associated model class | |
| requireAuth | No | ||
| responseFormat | No | json |