📦 Installation
To install this package you will need:
- PHP 7.1+
Run
composer require nstack/laravel-sdk
or setup in composer.json
nstack/laravel-sdk: 1.0.x
Setup in config/app.php
'providers' =>
[
....
NStack\ServiceProvider::class
]
'aliases' =>
[
....
'NStack' => NStack\Facade::class,
]
Copy config over from vendor/nstack/config/nstack.php to project/config/nstack.php
php artisan vendor:publish --provider="NStack\ServiceProvider"
âš™ Usage
You can now call via facade, eg:
\NStack::getContinentsClient()->index()
or via globa func
nstack()->getContinentsClient()->index()
All the basic fuctionality can be found in the NStack php-sdk found here