PHP code example of mollsoft / laravel-monero-module

1. Go to this page and download the library: Download mollsoft/laravel-monero-module 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/ */

    

mollsoft / laravel-monero-module example snippets


'providers' => ServiceProvider::defaultProviders()->merge([
    ...,
    \Mollsoft\LaravelMoneroModule\MoneroServiceProvider::class,
])->toArray(),

'aliases' => Facade::defaultAliases()->merge([
    ...,
    'Monero' => \Mollsoft\LaravelMoneroModule\Facades\Monero::class,
])->toArray(),
bash
php artisan monero:install
bash
php artisan migrate