rpsimao / laravel-scaleway
Library for interacting with the Scaleway REST API
Installs: 442
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/rpsimao/laravel-scaleway
Requires
- php: >=5.5
- ext-curl: *
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- orchestra/testbench: ^3.4
- phpunit/phpunit: ^6.1
README
Consume Scaleway RESP API, with Laravel integration
Table of Contents
Installation
{
    "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