Package Data | |
---|---|
Maintainer Username: | rpsimao |
Package Create Date: | 2017-07-04 |
Package Last Update: | 2017-07-04 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 15:06:03 |
Package Statistics | |
---|---|
Total Downloads: | 440 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Consume Scaleway RESP API, with Laravel integration
{
"require": {
"rpsimao/laravel-scaleway": "~1.0"
}
}
Add provider in your app.php
'providers' => array(
//...
rpsimao\Scaleway\LaravelScalewayServiceProvider::class,
),
Add facade in your app.php
'aliases' => array(
//...
'RPSScaleway' => rpsimao\Scaleway\LaravelScalewayFacade::class,
),
Set the api key in config/services.php
'scaleway' => [
'user' => env('SCALEWAY-USER'),
'password' => env('SCALEWAY-PASSWORD'),
'token'=> env('SCALEWAY-TOKEN')
],
Set the Credentials in .env file
SCALEWAY-USER=my-username
SCALEWAY-PASSWORD=my-password
SCALEWAY-TOKEN=my-token