Laravel Cashier Stripe
Automates Laravel Cashier subscription management & Stripe integration for seamless recurring billing and payment handling.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-cashier-stripe npx -- -y @trustedskills/laravel-cashier-stripe
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-cashier-stripe": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-cashier-stripe"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill integrates Laravel Cashier with Stripe to enable AI agents to handle subscription billing, manage recurring payments, and process one-time charges directly within a Laravel application. It automates the lifecycle of customer accounts, allowing agents to create subscriptions, upgrade plans, and handle cancellations programmatically.
When to use it
- Automated SaaS Billing: When an AI agent needs to onboard new users and immediately activate paid subscription tiers without manual intervention.
- Plan Management: For scenarios requiring dynamic upgrades or downgrades of service levels based on user requests or usage thresholds.
- Invoice Generation: When the system must automatically generate and email invoices upon successful payment confirmation or failed retries.
- Subscription Cancellation: To allow agents to gracefully handle user requests to cancel recurring payments while adhering to Stripe's cancellation policies.
Key capabilities
- Create and manage customer subscriptions with defined billing cycles.
- Process one-time charges for add-on services or trial periods.
- Handle subscription upgrades, downgrades, and cancellations seamlessly.
- Manage invoice generation and retrieval for financial reporting.
- Support for trial periods and proration logic during plan changes.
Example prompts
- "Create a monthly subscription for user ID 12345 on the 'Pro' plan using Stripe."
- "Upgrade the current subscription of customer email [email protected] from Basic to Enterprise and calculate the prorated charge."
- "Cancel the active recurring payment for user ID 67890 and send a confirmation invoice."
Tips & gotchas
Ensure your Laravel environment has valid Stripe API keys configured in the .env file before attempting to create subscriptions or process charges. Be aware that subscription status changes may trigger webhooks; verify your server can handle these asynchronous events to maintain data consistency between Laravel and Stripe.
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.