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

chargebee/cashier

Laravel Cashier for Chargebee provides an expressive, fluent interface for subscription billing with Chargebee. It handles subscriptions, invoices, payment methods, and recurring payments, letting Laravel developers integrate Chargebee billing quickly.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Monetization roadmap and launch sequencing — deciding when to ship paid plans, free trials, coupons, proration, upgrades/downgrades, seat-based or usage-based pricing. This package makes those features a configuration and integration task rather than a billing-engine build, so a PM can commit to a subscription roadmap with a credible delivery estimate.
  • Build vs. buy, at two layers — buy the billing platform (Chargebee: subscriptions, invoicing, tax, dunning, revenue recognition) and buy the integration layer with this package, instead of funding a custom Chargebee API client. The second "buy" is usually invisible in planning and is exactly where schedule slips.
  • Enterprise readiness commitments — multi-currency, tax handling, invoices, and payment-method updates come from Chargebee; this package is what exposes them in a Laravel product. That supports sales commitments to larger accounts without a billing platform program.
  • Migration decisions — moving from an in-house billing implementation or a different provider to Chargebee on a Laravel codebase. The cost of the migration is materially different when the adapter already exists.
  • Capacity allocation — the engineering delta between custom integration and this package is measured in weeks to months of senior time. That trade-off is a portfolio decision: spend the saved capacity on product differentiation instead of payment plumbing.
  • Framework upgrade planning — the adapter's supported-version range is now part of the platform-upgrade conversation. Billing is the kind of dependency that blocks a Laravel major upgrade, and v1.4.0's added Laravel 13 support removes that blocker from the roadmap rather than leaving it as a surprise in the upgrade epic.
  • Use-case fit assessment — self-serve B2C SaaS, B2B seat-based subscriptions, and trial-to-paid funnels are all in scope; marketplaces, payouts, and bespoke pricing engines are not.

When to Consider This Package

Consider adoption when all of the following hold:

  • The product is a Laravel/PHP application using Eloquent, on Laravel 10, 11, 12 or 13 (the package supports ^10.0|^11.0|^12.0|^13.0) with PHP 8.1+ — the current release widens the supported range without raising the floor, so it fits both a current-codebase adoption and a team mid-way through a framework upgrade.
  • Chargebee is already selected or firmly shortlisted as the billing provider. The package is an adapter, not a provider decision — it does not make Chargebee's commercial terms, fees, or feature gaps go away.
  • Billing needs are mainstream SaaS: plans, subscriptions, trials, coupons, proration, invoices, webhooks, payment-method management.
  • The team is small-to-mid and lacks dedicated billing engineers; an opinionated, vendor-maintained integration is worth more than maximum control.
  • The organization accepts a vendor-backed but low-adoption dependency — 64 stars and 0 dependents mean little community troubleshooting, so internal test coverage and version pinning are mandatory. The v1.4.0 cadence (a clean, non-breaking release with an updated CI matrix across PHP 8.1–8.5 and Laravel 10–13) is evidence of maintenance hygiene, not of community scale; treat it as the former.
  • You can wrap it behind an internal billing interface so the adapter is replaceable if Chargebee or the package changes course.

Look elsewhere when:

  • The provider is Stripe, Paddle, or Braintree — use the corresponding first-party Cashier package. Choosing Chargebee to fit this package is backwards.
  • The stack is non-Laravel PHP or another framework — use Chargebee's official SDKs directly.
  • Billing logic is highly bespoke (marketplace splits, custom pricing engines, complex contract billing) — the fluent abstraction will fight you; go direct to the API.
  • Third-party risk policy is strict (large community, many dependents, long track record required) — this package does not meet that bar today; either accept with mitigations or wait.
  • You need a first-party enterprise SLA — that is a Chargebee commercial conversation, not something an MIT-licensed repo provides.
  • Tax determination, compliance, or revenue-recognition logic is expected to live in-house — Chargebee and this package assume the opposite.

How to Pitch It (Stakeholders)

For executives: Chargebee is the billing system of record — subscriptions, tax, invoicing, dunning, revenue recognition. This package is the thin, vendor-maintained Laravel adapter that connects our product to it. The business case is speed and cost avoidance: what would otherwise be weeks-to-months of custom payment integration and ongoing maintenance becomes days of integration plus a configurable billing model. It is MIT-licensed, so there is no license cost; the real spend is the Chargebee subscription, which we would pay for regardless of this package. It directly de-risks our monetization roadmap — trials, plan changes, coupons, and enterprise invoicing become near-term deliverables rather than a platform program. The latest release (v1.4.0) is a maintenance release: it adds Laravel 13 compatibility, keeps Laravel 10–12 working, keeps the PHP floor at 8.1, and has no breaking changes — so it lowers our framework-upgrade risk without adding migration work. The honest caveat is adoption: the package is small (low stars, no dependents), so we mitigate with version pinning, integration tests around webhooks and state transitions, and a thin internal abstraction that keeps our exit path open. Net: lower build cost, faster time-to-revenue, contained and bounded dependency risk.

For engineering: It gives you the Cashier-style fluent API you already know — Eloquent models for subscriptions and customers, webhook handling, and far less raw HTTP and state-machine plumbing against Chargebee. It is maintained under the official Chargebee organization with recent releases, which matters more than star count for a billing dependency; v1.4.0 extends illuminate/* to ^10.0|^11.0|^12.0|^13.0, adds Laravel 13 to the CI matrix alongside PHP 8.1–8.5, and bumps Testbench and dompdf — all non-breaking, minimum PHP stays ^8.1. Practically, that means adopting it does not pin us out of a Laravel upgrade, and upgrading it does not force a code change. The trade-offs are still real and worth stating up front: a small community means fewer Stack Overflow answers and fewer eyes on edge cases, so budget for tests on webhook idempotency, proration, and failure/dunning paths. Keep it behind a BillingService interface rather than calling it from controllers and models, and pin the version. Done that way, it is a straightforward accelerator, not a lock-in.

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.
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names