deso-smart / laravel-deso-client
Laravel DeSo Client
v0.2.1
2022-09-16 17:07 UTC
Requires
- php: ^8.1
- firebase/php-jwt: ^6.2
- illuminate/config: ^9
- illuminate/contracts: ^9
- illuminate/http: ^9
- illuminate/support: ^9
- muvon/base58-codec: ^0.1.0
- simplito/elliptic-php: ^1.0
README
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); } // ...