ashkanab / in-app-purchase-laravel
Your package description
1.1.1
2025-03-18 13:14 UTC
Requires
- php: ^8.2
- ashkanab/app-store-server-library-php: ^1.0
- illuminate/support: ^9.0|^10.0|^11.0
README
Laravel App Store In-App Purchase Package
Streamline your iOS app's in-app purchase integration with our robust Laravel package. Designed for developers seeking a reliable and easy-to-use solution for handling App Store in-app purchases server-side.
Key Features:
- Seamless Integration: Easily incorporate App Store in-app purchases into your Laravel application.
- Receipt Validation: Securely validate receipts with Apple's servers to prevent fraud.
- Subscription Management: Effortlessly handle subscription lifecycles, including renewals and expirations.
Technical Specifications:
- Requires Laravel 9.0+
- PHP 8.2 or higher
Getting Started
- Install via Composer:
composer require ashkanab/in-app-purchase-laravel
- Publish the configuration file and migration file:
php artisan vendor:publish --provider="AppStore\InAppPurchase\PurchaseServiceProvider"
- Set up your App Store Connect credentials in published config file named purchase.php.
- (optional) use HasSubscription trait and implement Subscriptionable interface in your user model.