Laravel Rate Limiting
Protects your Laravel application from abuse by implementing rate limits, ensuring fair usage and preventing overload.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-rate-limiting npx -- -y @trustedskills/laravel-rate-limiting
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-rate-limiting": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-rate-limiting"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides rate limiting functionality for Laravel applications. It allows developers to control the number of requests users can make within a specific timeframe, protecting against abuse and ensuring fair usage. The skill integrates with Laravel's existing authentication system and offers flexible configuration options for different API endpoints.
When to use it
- Protecting Public APIs: Limit access to your public API endpoints to prevent denial-of-service attacks or excessive usage by individual users.
- Controlling Email Sending: Restrict the number of emails a user can send per hour to avoid spamming and server overload.
- Managing Resource Intensive Operations: Limit the frequency of resource-intensive tasks, such as generating reports or processing large datasets.
- Enforcing Fair Usage Policies: Implement rate limits for paid tiers or specific features to ensure equitable access for all users.
Key capabilities
- Rate limiting per route
- Integration with Laravel authentication
- Flexible configuration options
- Protection against abuse and denial-of-service attacks
Example prompts
- "Implement a rate limit of 10 requests per minute for the
/api/usersendpoint." - "Configure email sending to be limited to 5 emails per hour per user."
- "Show me the current rate limiting configuration for authenticated users."
Tips & gotchas
This skill requires a Laravel application environment. Ensure you have properly configured your .env file and database connection before attempting to install or configure it.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.