# Getting Started
Requires: PHP 7.4 or later (opens new window)
First, install Arionum PHP via the Composer
package manager:
composer require owenvoke/arionum-php
# Set up the Arionum instance
$nodeUri = 'https://node-uri-here';
$arionum = new OwenVoke\Arionum\Arionum($nodeUri);
# Within Laravel
For use within Laravel, there is a Laravel Arionum (opens new window) adapter:
# Require the Laravel adapter package
composer require owenvoke/laravel-arionum
# Publish the configuration file
php artisan vendor:publish --provider="OwenVoke\LaravelArionum\ArionumServiceProvider"
To configure the Arionum node that is used, set the ARIONUM_NODE_URI
environment variable in .env
file.
All existing methods can be called statically via the Arionum
facade (opens new window).