PHPackages                             gridwb/laravel-adapty - 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. [API Development](/categories/api)
4. /
5. gridwb/laravel-adapty

ActiveLibrary[API Development](/categories/api)

gridwb/laravel-adapty
=====================

adapty.io API for Laravel

1.1.2(5mo ago)024MITPHPPHP &gt;=8.2

Since Nov 13Pushed 5mo agoCompare

[ Source](https://github.com/gridwb/laravel-adapty)[ Packagist](https://packagist.org/packages/gridwb/laravel-adapty)[ Docs](https://github.com/gridwb/laravel-adapty)[ RSS](/packages/gridwb-laravel-adapty/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

Overview
--------

[](#overview)

Laravel Adapty is a convenient wrapper for interacting with the Adapty API in Laravel applications.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Profile Resource](#profile-resource)
    - [Webhooks](#webhooks)
- [Testing](#testing)
- [Changelog](#changelog)
- [License](#license)

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

[](#installation)

1. Install the package

    ```
    composer require gridwb/laravel-adapty
    ```
2. Publish the configuration file

    ```
    php artisan vendor:publish --tag="adapty-config"
    ```
3. Add environment variables

    ```
    ADAPTY_API_URL=https://api.adapty.io
    ADAPTY_API_KEY=your-api-key-here
    ADAPTY_WEBHOOK_PATH=webhooks/adapty
    ADAPTY_WEBHOOK_SECRET=your-webhook-secret-here
    ```

Usage
-----

[](#usage)

### `Profile` Resource

[](#profile-resource)

#### `get profile`

[](#get-profile)

Get profile request:

```
