nerdysouth/stripe-bundle
A Laravel bundle that integrates the Stripe PHP SDK with configuration, a service provider, and facades for quick payment setup. Simplifies charges, subscriptions, and webhooks, letting you add Stripe billing to your app with minimal boilerplate.
createPaymentUrl, so trial duration becomes a per-request input rather than a hard-coded plan attribute. That turns "how long should the trial be?" into a cheap experiment: 7 vs. 14 vs. 30 days by cohort, acquisition channel, or plan tier, with no pricing-model rewrite.Consider it when:
trialDays parameter is enough fidelity for your pricing model.PaymentGateway interface, and keep a thin adapter so a swap is a one-file change.Look elsewhere when:
For executives. The payment layer now supports free trials with a one-parameter change, which unblocks a try-before-buy offer without a rebuild. That matters commercially: trials are the cheapest lever we have on self-serve conversion, and we can now test trial length per cohort instead of arguing about it in planning. The dependency is small and pre-1.0, so the ask is modest engineering time plus a documented exit path — not a platform commitment.
For engineering. The change is additive: an optional trial-days value on createPaymentUrl. No schema change, no breaking API change, no migration. Two things to confirm before we build on it: (1) how trial expiry and first charge are signalled back to us — we need a reliable webhook or polling path to flip entitlements; (2) whether the underlying gateway call is idempotent, because a duplicate submission that starts two trials is a support and refund problem. Recommend pinning to 0.1.2, wrapping the client behind an internal interface, and emitting our own trial-started / trial-converted events so product analytics does not depend on gateway reporting.
For finance/support. Trial length becomes a configurable input rather than a contract term, so expect more variants in the wild; support needs a way to look up a customer's trial start and configured length, and finance needs clarity on whether an unconverted trial ever produces an invoice or a zero-value authorization. Get that answered before launch, not after the first billing disputes.
How can I help you explore Laravel packages today?