Looking to hire Laravel developers? Try LaraJobs

laravel-deso-client maintained by deso-smart

Description
Laravel DeSo Client
Author
Last update
2022/09/16 19:07 (dev-main)
License
Links
Downloads
79
Tags

Comments
comments powered by Disqus

DeSo Client for Laravel

License Latest Stable Version Total Downloads

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);
}
// ...