rondo-rondo/laravel-monero-module is a Laravel package for laravel monero module.
It currently has 0 GitHub stars and 78 downloads on Packagist.
Install it with composer require rondo-rondo/laravel-monero-module.
Discover more Laravel packages by rondo-rondo
or browse all Laravel packages to compare alternatives.
Last updated
Organization of payment acceptance and automation of payments of XMR coins on the Monero blockchain.
You can install the package via composer:
composer require rondo-rondo/laravel-monero-module
After you can run installer using command:
php artisan monero:install
Optional, you can install Monero Wallet RPC using command:
php artisan monero:wallet-rpc
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();
You must setup Supervisor, create file /etc/supervisor/conf.d/monero.conf with content (change user and paths):
[program:monero]
process_name=%(program_name)s
command=php /home/forge/example.com/artisan monero
autostart=true
autorestart=true
user=forge
redirect_stderr=true
stdout_logfile=/home/forge/example.com/monero.log
stopwaitsecs=3600
Monero Node sync with all wallets in here.
php artisan monero:node-sync [NODE ID]
Monero Wallet sync.
php artisan monero:wallet-sync [WALLET ID]
Command for build JS script:
npm i
npm run build