定制 it-healer/laravel-monero 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

it-healer/laravel-monero

最新稳定版本:v1.0.2

Composer 安装命令:

composer require it-healer/laravel-monero

包简介

A library for Laravel that allows you to create and manage the Monero cryptocurrency.

README 文档

README

Logo

Latest Version on Packagist Total Downloads

Laravel Monero

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 it-healer/laravel-monero

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([
    ...,
    \ItHealer\LaravelMonero\MoneroServiceProvider::class,
])->toArray(),

'aliases' => Facade::defaultAliases()->merge([
    ...,
    'Monero' => \ItHealer\LaravelMonero\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

Commands

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]

For Developers

Command for build JS script:

npm i
npm run build

Support

Changelog

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

Credits

License

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

统计信息

  • 总下载量: 80
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-23