Skip to content

Interaction with a Monero wallet, organizing the reception and withdrawal of XMR on the website. Взаимодействие с Monero кошельком, организация приёма и вывода XMR на сайте.

mollsoft/laravel-monero-module

Repository files navigation

Laravel Monero Module

Organization of payment acceptance and automation of payments of XMR coins on the Monero blockchain.

Installation

You can install the package via composer:

composer require mollsoft/laravel-monero-module

After you can run installer using command:

php artisan monero:install

And run migrations:

php artisan migrate

Register Service Provider and Facade in app, edit config/app.php:

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

'aliases' => Facade::defaultAliases()->merge([
    ...,
    'Monero' => \Mollsoft\LaravelMoneroModule\Facades\Monero::class,
])->toArray(),

Add cron job, in file app/Console/Kernel in method schedule(Schedule $schedule) add

$schedule->command('monero:sync')
    ->everyMinute()
    ->runInBackground();

About

Interaction with a Monero wallet, organizing the reception and withdrawal of XMR on the website. Взаимодействие с Monero кошельком, организация приёма и вывода XMR на сайте.

Resources

Stars

Watchers

Forks

Packages

No packages published