Download the PHP package roundly-consulting/purchases-for-laravel without Composer
On this page you can find all versions of the php package roundly-consulting/purchases-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roundly-consulting/purchases-for-laravel
More information about roundly-consulting/purchases-for-laravel
Files in roundly-consulting/purchases-for-laravel
Package purchases-for-laravel
Short Description Handle payments and subscriptions from Payment Gateways and In-App Purchases.
License MIT
Homepage https://github.com/roundly-consulting/purchases-for-laravel
Informations about the package purchases-for-laravel
Purchases for Laravel
One API for Apple App Store, Google Play and Stripe purchases and subscriptions. It verifies every store's webhooks natively, records purchases, subscriptions and refunds as Eloquent models, and fires lifecycle events, with no third-party SDKs.
Installation
Requires PHP 8.4 (ext-bcmath) and Laravel 12 or 13.
If your owner models have UUID/ULID keys, set PURCHASES_KEY_TYPE before migrating. Fill in
each provider's credentials (for Stripe, PURCHASES_STRIPE_WEBHOOK_SECRET) and set
PURCHASES_ROUTES_ENABLED=true to receive webhooks at POST /purchases/webhooks/{provider}.
Usage
The bundled route verifies, records and fires events for you. From your own controller it is one call:
A store never says which of your users paid, so link the owner in a listener:
Then gate features on it:
Documentation
The full documentation — configuration, every feature and its API, and testing — lives on our website: roundly-consulting.com/open-source/docs/purchases-for-laravel
Release notes are in CHANGELOG.md. To contribute, see the contributing guide.
Support our work
This package is free and open source, built and maintained by Roundly Consulting. If it saves you time, please consider supporting our open-source work — a one-time donation, a monthly pledge on Patreon or a crypto donation helps fund maintenance, new features and new packages.
License
The MIT License (MIT). Please see License File for more information.
All versions of purchases-for-laravel with dependencies
ext-bcmath Version *
illuminate/contracts Version ^12.0|^13.0
roundly-consulting/crypto-for-laravel Version ^1.0
roundly-consulting/enums-for-laravel Version ^1.0
roundly-consulting/money-for-laravel Version ^1.0
roundly-consulting/package-toolkit-for-laravel Version ^1.0