laravel-cashier-stripe

Integrate Stripe subscription billing and payment processing in Laravel with Cashier.

40|7|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill laravel-cashier-stripe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-cashier-stripe
Source: https://github.com/rawveg/skillsforge-marketplace/tree/main/laravel-cashier-stripe
Command: npx skills add https://github.com/rawveg/skillsforge-marketplace --skill laravel-cashier-stripe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for implementing Laravel Cashier (Stripe) based subscription billing, payment processing, and Stripe integration in Laravel applications.

Core Features & Use Cases

  • Install and configure Laravel Cashier for Stripe-based subscriptions
  • Manage subscriptions, trials, proration, and plan changes
  • Handle payment methods, Setup Intents, and default payment methods
  • Work with Stripe webhooks, invoices, Checkout, and Billing Portal
  • Debug Stripe integration issues and implement common workflows

Quick Start

Follow the Quick Reference to install the package, publish migrations, and implement a basic subscription flow in a Laravel app. See code examples in the Skill for concrete usage patterns.

Frequently Asked Questions about laravel-cashier-stripe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up subscription billing with Laravel Cashier and Stripe?

Laravel Cashier provides subscription billing integration by installing the package, publishing migrations, and making your User model Billable. This enables you to manage recurring payments, subscription plans, trials, and customer billing through Stripe without building payment infrastructure from scratch.

How do I handle Stripe webhooks in a Laravel application?

Stripe webhooks notify your Laravel app of billing events like subscription renewals and payment failures. Cashier handles webhook verification and routing automatically; configure your webhook endpoint in Stripe's dashboard and Cashier processes events through built-in handlers you can customize.

Can I manage subscription plan changes and prorations with Laravel Cashier?

Yes, Cashier handles subscription upgrades, downgrades, and prorations automatically. You can swap plans, adjust billing cycles, and apply credits—Stripe calculates prorated amounts and your Billable model tracks all subscription state changes.

What's the best way to collect and update payment methods for Stripe subscriptions?

Use Stripe Setup Intents through Cashier to securely store or update payment methods without charging. Cashier manages intent creation, verification, and default payment method assignment on your Billable model for frictionless payment updates.

How do I generate and manage invoices with Laravel Cashier?

Cashier retrieves invoices directly from Stripe and provides methods to access, download, or display them. All billing events automatically create invoices in Stripe; your app can fetch and expose them to customers through the Billable model.

Can I use Stripe Checkout and Billing Portal with Laravel Cashier?

Yes, Cashier integrates Stripe Checkout for one-time charges and Checkout sessions for flexible payment flows, plus the Billing Portal for customer self-service subscription and payment management without custom UI.