Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.47 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.47 KB

A Laravel package for using the Xibo api

Latest Version on Packagist Total Downloads

A wrapper for the Xibo api, see https://xibo.org.uk/manual/api/ as well.

Installation

You can install the package via composer:

composer require wimmie/laravel-xibo-api

You can publish the config file with:

php artisan vendor:publish --provider="Wimmie\XiboApi\XiboApiServiceProvider" --tag="config"

This is the contents of the published config file:

return [
    'url' => env('XIBO_URL', ''),
    'client_id' => env('XIBO_CLIENT_ID', ''),
    'client_secret' => env('XIBO_CLIENT_SECRET', ''),
];

Usage

$xiboApi = new Wimmie\XiboApi();
echo $xiboApi->misc()->about();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.