imdhemy / laravel-purchases
The top-notch Laravel receipt validator.
Fund package maintenance!
imdhemy
Installs: 588 742
Dependents: 2
Suggesters: 0
Security: 0
Stars: 324
Watchers: 6
Forks: 76
Open Issues: 10
Requires
- php: >=8.1
- ext-json: *
- ext-openssl: *
- imdhemy/appstore-iap: ^1.6
- imdhemy/google-play-billing: ^1.5
- laravel/framework: >=8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.14
- orchestra/testbench: ^6.24
- psalm/plugin-laravel: ^2.0
- psalm/plugin-phpunit: ^0.19.0
- roave/security-advisories: dev-latest
- vimeo/psalm: ^5.11
- 1.x-dev
- 1.14.1
- 1.14.0
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.x-dev
- 0.10.4
- 0.10.3
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.0
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.2
- dev-dependabot/composer/laravel/framework-8.83.28
- dev-dependabot/composer/imdhemy/appstore-iap-1.7.0
- dev-main
This package is auto-updated.
Last update: 2024-11-13 08:57:48 UTC
README
✅ App Store ✅ Google Play
Laravel In-App purchase
Google Play and App Store provide the In-App Purchase (IAP) services. IAP can be used to sell a variety of content, including subscriptions, new features, and services. The purchase event and the payment process occurs on and handled by the mobile application (iOS and Android), then your backend needs to be informed about this purchase event to deliver the purchased product or update the user's subscription state.
Laravel In-App purchase comes to help you to parse and validate the purchased products and handle the different states of a subscription, like New subscription , auto-renew, cancellation, expiration and etc.
Installation
Use composer to install the package:
composer require imdhemy/laravel-purchases
Sponsor this project 🙏
When I started this project, I used to have an Apple Developer Program membership, but now I don't have it anymore. The membership is required to test the Apple IAP Notifications, and it costs $99/year. If you find this package useful and you want to support this work, click on the sponsor button to the right.
Documentation
The documentation is available on Liap manual.
License
Laravel In-App purchase is licensed under the MIT license.