laravel-deso-client maintained by deso-smart
DeSo Client for Laravel
Installation
Require this package with composer.
composer require deso-smart/laravel-deso-client
Laravel >=5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="DesoSmart\DesoClient\DesoClientServiceProvider" --tag=config
Usage example
use DesoSmart\DesoClient\DesoClient;
// ...
public function handler(DesoClient $client)
{
$payload = $client->getExchangeRate();
dd($payload);
}
// ...