Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cashier Laravel Package

laravel/cashier

Laravel Cashier offers an expressive, fluent interface to Stripe's subscription billing, handling nearly all the boilerplate for you—including coupons, subscription swapping, quantities, cancellation grace periods, and invoice PDFs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Monetization and pricing model selection: Cashier lowers the cost of testing subscription tiers, annual vs. monthly plans, trials, coupons, proration, quantity-based seats, and cancellation grace periods. PMs can validate packaging and pricing experiments without commissioning a custom billing engine.
  • Build vs. buy for subscription billing: The default decision should be “buy/leverage” for standard Stripe subscription flows. Cashier handles customer creation, subscriptions, swaps, quantities, invoices, payment methods, webhooks, and billing portal access. Engineering effort shifts from billing plumbing to differentiated product work.
  • Roadmap acceleration for paid launch: Teams can sequence a paid tier launch earlier because Cashier provides subscription lifecycle primitives out of the box, including trial handling, plan swaps, cancellation behavior, invoice PDFs, and Stripe webhook routing.
  • Self-serve revenue operations: Supports product decisions around self-serve upgrades/downgrades, billing portal delegation, payment method updates, dunning/failed-payment handling, and invoice visibility. These are often prerequisites for reducing sales-assisted billing overhead.
  • Usage-based and hybrid pricing exploration: Recent releases include support for new usage-based billing, making it viable to evaluate metered pricing, seat expansion, and hybrid subscription-plus-usage models without building a separate metering/billing subsystem.
  • B2B/B2C subscription use cases: Useful for SaaS products, membership sites, API/usage products, digital subscriptions, and seat-based team plans where Stripe is the payment system of record.
  • Global payment and tax readiness: Because Cashier sits on Stripe, product decisions can inherit Stripe’s payment method breadth, tax-rate handling, invoicing, and billing portal capabilities rather than recreating them internally.
  • Lifecycle experimentation: Coupons, discounts, trial-to-paid conversion, plan swaps, and cancellation flows can be instrumented and iterated. Cashier reduces the lead time for experiments, but PMs still need analytics and entitlement logic around it.

When to Consider This Package

Consider Laravel Cashier when:

  • The product is built on Laravel/PHP and the team wants an official, idiomatic integration rather than a custom Stripe client.
  • Stripe is the intended payment service provider and the business accepts Stripe as the system of record for subscriptions, invoices, payment methods, and billing portal behavior.
  • The monetization model is a standard SaaS/subscription model: monthly/annual plans, trials, coupons, seats/quantities, upgrades/downgrades, cancellation grace periods, and invoice PDFs.
  • The team wants to ship a paid offering quickly and avoid building webhook handling, subscription state synchronization, proration logic, and billing portal flows from scratch.
  • The product needs self-serve billing operations such as card updates, plan changes, cancellations, invoice history, and failed-payment recovery with limited engineering overhead.
  • The organization values an MIT-licensed, actively maintained, official Laravel package with documentation, changelog, releases, and compatibility updates for current Laravel/PHP versions.
  • The billing surface is important but not the core differentiator; the team would rather invest in product features than billing infrastructure.

Look elsewhere or plan additional layers when:

  • The business requires multi-PSP orchestration, regional payment processors, or the ability to move off Stripe without re-architecting subscription state. Cashier is Stripe-specific.
  • Finance requires complex revenue recognition, ERP-grade invoicing, rev rec automation, tax filing, or consolidated billing across entities beyond Stripe’s standard capabilities.
  • The product is a marketplace, platform, or usage-based business with complex payouts, multi-party settlement, or custom contract billing that does not map cleanly to Stripe subscriptions.
  • The company needs deep customization of subscription lifecycle logic, entitlements, dunning, or invoice presentation that would require forking or heavily wrapping the package.
  • The application is not Laravel/PHP, or the team has standardized on a different billing platform.
  • There are strict controls requiring in-house ownership of PCI scope, billing data residency, or processor independence that conflict with a Stripe-centric integration.
  • The team lacks the operational capacity to own Stripe configuration, webhook reliability, product/price catalog governance, finance reconciliation, and customer support workflows even if the code is provided.

How to Pitch It (Stakeholders)

Executive summary: Laravel Cashier is a mature, official Laravel package that gives our PHP application a fluent interface to Stripe subscription billing. It is MIT-licensed, actively released, documented, and already aligned with modern Laravel/PHP versions. For a Laravel product using Stripe, it is the pragmatic “buy/leverage” choice for subscription billing rather than a custom build.

Why it matters: Billing is high-risk, cross-functional plumbing: subscriptions, trials, coupons, proration, quantities, invoices, payment methods, webhooks, cancellations, and self-serve portal flows. Cashier removes most of that boilerplate and lets engineering focus on product differentiation. It can shorten time-to-revenue for a paid launch and reduce the risk of subtle billing bugs in edge cases such as plan swaps, failed payments, and cancellation grace periods.

What it enables: Faster launch of paid tiers; support for monthly/annual plans, trials, coupons, seat quantities, upgrades/downgrades, invoice PDFs, and billing portal access; a credible path to usage-based or hybrid pricing; and lower operational load for self-serve billing. Recent releases include usage-based billing support, Laravel 12 support, PHP 8.4 compatibility, tax-rate fixes, and webhook duplicate-prevention improvements.

Key trade-off: Cashier is Stripe-centric. It is not a multi-processor billing abstraction, and it does not replace finance operations, revenue recognition, tax filing, or product entitlement design. Adopting it means accepting Stripe as the billing system of record and investing in Stripe product/price catalog governance, webhook monitoring, and finance reconciliation.

Recommendation: Adopt Cashier if we are a Laravel shop launching or scaling a Stripe-based subscription product with standard SaaS billing needs. Run a short spike covering signup, trial, upgrade/downgrade, cancellation, failed payment, and invoice flows; confirm finance and support workflows; then standardize on the package. If we need processor independence, complex enterprise billing, marketplace payouts, or deep custom revenue recognition, treat Cashier as insufficient and evaluate a broader billing platform.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections