Skip to content

antero-software/axcelerate-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flipninja/axcelerate-laravel

A Laravel service provider for flipninja/axcelerate-php.

http://flip.ninja/ https://www.axcelerate.com.au/

Usage

Config

Add the following to your config/services.php

<?php


return [
    // ...
    'axcelerate' => [
        'apiToken' => env('AXCELERATE_APITOKEN'),
        'wsToken' => env('AXCELERATE_WSTOKEN')
    ],
];

Append AXCELERATE_APITOKEN AXCELERATE_WSTOKEN keys to your .env.

Provider

For Laravel, add the service provider to your provider array in config/app.php

<?php

return [
    // ...
    'providers' => [
        FlipNinja\AxcelerateLaravel\AxcelerateServiceProvider::class
    ]
];