Download the PHP package gridwb/laravel-adapty without Composer
On this page you can find all versions of the php package gridwb/laravel-adapty. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gridwb/laravel-adapty
More information about gridwb/laravel-adapty
Files in gridwb/laravel-adapty
Package laravel-adapty
Short Description adapty.io API for Laravel
License MIT
Homepage https://github.com/gridwb/laravel-adapty
Informations about the package laravel-adapty
Overview
Laravel Adapty is a convenient wrapper for interacting with the Adapty API in Laravel applications.
Table of Contents
- Installation
- Usage
- Profile Resource
- Stripe Resource
- Webhooks
- Testing
- Changelog
- License
Installation
-
Install the package
-
Publish the configuration file
- Add environment variables
Usage
Profile Resource
get profile
Get profile request:
delete profile
Delete profile request:
Stripe Resource
validate stripe purchase
Validate stripe purchase request:
Webhooks
Adapty can send events to your Laravel application via webhooks. By default, all webhook requests are dispatched to the
Gridwb\LaravelAdapty\Jobs\ProcessWebhook::class job, which triggers corresponding Laravel events. You can listen to
these events like any other Laravel event:
If you need custom handling, you can define your own job and set it in the config/adapty.php:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-adapty with dependencies
guzzlehttp/guzzle Version ^7.9.0
spatie/laravel-data Version ^4.13
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0