PHP code example of owenvoke / laravel-arionum
1. Go to this page and download the library: Download owenvoke/laravel-arionum library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
owenvoke / laravel-arionum example snippets
// Resolving from the app container
app(\OwenVoke\Arionum\Arionum::class)->getNodeInfo();
app('arionum')->getNodeInfo();
// Using the facade (with, and without the short alias)
\Arionum::getNodeInfo();
\OwenVoke\LaravelArionum\Facades\Arionum::getNodeInfo();
// Type hinting with dependency injection
public function __construct(\OwenVoke\Arionum\Arionum $arionum)
{
$arionum->getNodeInfo();
}