spatie/checkout
Laravel package to manage the current order ID during a webshop checkout. Store the newly created order ID in the session and retrieve it later via a simple facade/API, keeping checkout steps clean and consistent across requests.
Adopt if:
spatie/laravel-checkout or custom middleware).laravel-cashier).Look elsewhere if:
spatie/laravel-checkout or orchid/shop).laravel-cashier, filament-shop, or bagisto."This package lets us ship a scalable, session-driven checkout in days—not months—by handling a critical but tedious piece of e-commerce infrastructure: persisting order IDs across multi-step flows. It’s like a ‘save draft’ for orders, reducing friction and cart abandonment. With zero dependencies and MIT licensing, it’s a low-risk way to accelerate our roadmap while keeping costs predictable. Think of it as the ‘Stripe for order state management’—but open-source and Laravel-native."
Key Ask:
*"This is a minimalist, battle-tested solution for a common Laravel e-commerce pain point: keeping order IDs alive during redirects. Here’s why it’s a no-brainer:
Trade-offs:
Recommendation:
laravel-cashier)."*Tech Debt Note: "If we adopt this, we’ll need to monitor for Laravel version conflicts and plan for a migration path if Spatie updates the package."
How can I help you explore Laravel packages today?