wheredidgogogo/avanser

A Laravel package to connect to Avanser call tracking API
3,497 1
Install
composer require wheredidgogogo/avanser
Latest Version:2.0
License:MIT
Last Updated:Aug 11, 2020
Links: GitHub  ·  Packagist
Maintainer: wheredidgogogo

Laravel Avanser Call Tracking Package

This is a laravel package to connect to the Avanser call tracking platform.

http://www.avanser.com.au/

Installation

Composer

composer require wheredidgogogo/avanser

Laravel

Add Provider

In your config/app.php add the following Wheredidgogogo\Avanser\AvanserServiceProvider::class, to the providers array:

'providers' => [
    ...
    Wheredidgogogo\Avanser\AvanserServiceProvider::class,
    ...
],

'alias' => [
    ...
    'Avanser' => Wheredidgogogo\Avanser\AvanserFacade::class,
    ...
],

Publish Configuration

php artisan vendor:publish

This will genetate a config file config/avanser.php where you will need to enter your Avanser API credentials.

Use


$results = \Avanser::getCallData();

An array of values can be sent with the query:


date_from, date_to, last_id, limit, evaluations, features, wav, web, detailed, localtime