A package for laravel reading the Tibber API.
You can install the package via composer:
composer require arnebr/laravel-tibberYou can publish and run the migrations with:
php artisan vendor:publish --tag="laravel-tibber-migrations"
php artisan migrateYou can publish the config file with:
php artisan vendor:publish --tag="laravel-tibber-config"This is the contents of the published config file:
return [
'api_url'=>'https://api.tibber.com/v1-beta/gql',
'token'=>env('TIBBER_TOKEN','5K4MVS-OjfWhK_4yrjOlFe1F6kJXPVf7eQYggo8ebAE'),
'homeId'=>env('TIBBER_HOMEID',null)
];$tibber = new Arnebr\Tibber();
var_dump( $tibber->viewer());composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.