Skip to content
A Laravel adapter for the Arionum PHP wrapper.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
config
src
tests/Feature
.editorconfig
.gitattributes
.gitignore
.styleci.yml
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
composer.json
phpunit.xml.dist

README.md

Laravel Arionum

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

A Laravel adapter for the Arionum PHP wrapper.

Install

Via Composer

$ composer require pxgamer/laravel-arionum

Usage

This adapter allows the use of the Arionum PHP wrapper directly in Laravel projects.

The ARIONUM_NODE_URI property must be set in the .env or environment.

All methods can be used statically, via the Arionum facade, or resolved from the service container.

// Resolving from the app container
app(\pxgamer\Arionum\Arionum::class)->getNodeInfo();
app('arionum')->getNodeInfo();

// Using the facade (with, and without the short alias)
\Arionum::getNodeInfo();
\pxgamer\LaravelArionum\ArionumFacade::getNodeInfo();

// Type hinting with dependency injection
public function __construct(\pxgamer\Arionum\Arionum $arionum)
{
    $arionum->getNodeInfo();
}

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email security@pxgamer.xyz instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.