PHPackages                             mdhedayet/appsumo-licensing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mdhedayet/appsumo-licensing

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mdhedayet/appsumo-licensing
===========================

Laravel package to integrate with AppSumo Licensing automatically

251PHP

Since Mar 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mdhedayet/appsumolicensing)[ Packagist](https://packagist.org/packages/mdhedayet/appsumo-licensing)[ RSS](/packages/mdhedayet-appsumo-licensing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

AppSumo Licensing Laravel Package
=================================

[](#appsumo-licensing-laravel-package)

A Laravel package for seamless integration with AppSumo Licensing. This package handles the OAuth flow and webhook events automatically, so you can easily manage license activations, upgrades, downgrades, and deactivations directly from your Laravel application.

Features
--------

[](#features)

- **OAuth Integration:** Automatically handles the OAuth callback from AppSumo, exchanges the code for an access token, and retrieves the user’s license data.
- **Webhook Handling:** Receives and processes webhook events (purchase, activate, upgrade, downgrade, deactivate) from AppSumo.
- **HMAC Signature Verification:** Validates incoming webhook requests to ensure authenticity.
- **Simple Configuration:** Easily configure your AppSumo credentials and endpoint URLs using Laravel’s config system.
- **Extensible:** Customize business logic in the provided controllers to suit your application's needs.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.3
- Laravel 8.x, 9.x, or 10.x
- [GuzzleHTTP](https://github.com/guzzle/guzzle) (installed as a dependency)

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require mdhedayet/appsumo-licensing
```

Configuration
-------------

[](#configuration)

Publish the configuration file to your Laravel application's `config` directory:

```
php artisan vendor:publish --tag=config
```

This command will create a file named `config/appsumo.php` where you can set your AppSumo credentials and endpoint URLs. For example:

```
