flipninja/axcelerate-laravel

A Laravel service provider for flipninja/axcelerate-php.

0.4.2 2024-10-24 08:34 UTC

This package is auto-updated.

Last update: 2024-12-18 03:28:06 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
    ]
];