An Appsflyer API package
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rodrigo Gonzalez 2682f974f2 Fixed an error with PHP 8.1 8 months ago
src Fixed an error with PHP 8.1 8 months ago
.gitignore Minor changes 7 years ago
LICENSE * License Updated. 5 years ago
README.md README created 7 years ago
composer.json Log requests to console 4 years ago

README.md

Appsflyer SDK

A PHP package to access the Appsflyer API by a comprehensive way.

Installation

The preferred way to install this extension is through composer.

With Composer installed, you can then install the extension using the following commands:

$ php composer.phar require jlorente/appsflyer

or add

...
    "require": {
        "jlorente/appsflyer": "*"
    }

to the require section of your composer.json file.

Configuration

You can set the dev_key and api_token as environment variables or add them later on Appsflyer class instantiation.

The names of the environment vars are APPSFLYER_DEV_KEY and APPSFLYER_API_TOKEN.

Usage

Endpoints calls must done through the Appsflyer class.

If you haven't set the environment variables previously, remember to provide the keys on instantiation.

$appsflyer = new Appsflyer($devKey, $apiToken);
$appsflyer->inappevent()->create($data);

Contribution

There is still a lot to do and there are a lot of endpoints to develop, so any contribution will be well received.

License

Copyright © 2018 José Lorente Martín [email protected].

Licensed under the BSD 3-Clause License. See LICENSE.txt for details.