Skip to content

Wimmie/laravel-xibo-api

Repository files navigation

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.

About

A Laravel package for using the Xibo api

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages