flipninja/axcelerate-laravel

A Laravel service provider for flipninja/axcelerate-php.

0.4.1 2024-10-10 13:15 UTC

This package is auto-updated.

Last update: 2024-10-18 03:09:30 UTC


README

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
    ]
];