PHPackages                             it-healer/laravel-monero - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. it-healer/laravel-monero

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

it-healer/laravel-monero
========================

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

v1.1.1(4w ago)01911MITJavaScriptPHP ^8.2

Since Jul 23Pushed 4w agoCompare

[ Source](https://github.com/it-healer/laravel-monero)[ Packagist](https://packagist.org/packages/it-healer/laravel-monero)[ Docs](https://github.com/it-healer/laravel-monero)[ RSS](/packages/it-healer-laravel-monero/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

[![Logo](docs/logo.jpeg)](docs/logo.jpeg)

[ ![Latest Version on Packagist](https://camo.githubusercontent.com/6bf5ca4b6e116e33c60e4f4aa51809cc51a23b824b57f3ed20feb853896db1c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69742d6865616c65722f6c61726176656c2d6d6f6e65726f2e7376673f7374796c653d666c61742663616368655365636f6e64733d33363030)](https://packagist.org/packages/it-healer/laravel-monero)[ ![Total Downloads](https://camo.githubusercontent.com/8552a5210113adc8d24dbc39a09834a615575eca5222d61279752890aab92b48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69742d6865616c65722f6c61726176656c2d6d6f6e65726f2e7376673f7374796c653d666c61742663616368655365636f6e64733d33363030)](https://packagist.org/packages/it-healer/laravel-monero)Laravel Monero
==============

[](#laravel-monero)

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

### Installation

[](#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

[](#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]
```

Check status of monero-wallet-rpc processes.

```
php artisan monero:status --all              # Check all nodes
php artisan monero:status [NODE ID or NAME]  # Check specific node
php artisan monero:status 1 --method=full    # Full diagnostics
```

### Process Monitoring

[](#process-monitoring)

The module provides comprehensive monitoring capabilities for `monero-wallet-rpc` processes.

#### Available Check Methods

[](#available-check-methods)

MethodSpeedReliabilityUse Case`pid`Very fastLowQuick existence check`port`FastMediumPort availability check`api`MediumHighRecommended for production`full`SlowHighFull diagnostics#### Usage in Code

[](#usage-in-code)

**Check node status:**

```
use ItHealer\LaravelMonero\Facades\Monero;

$node = MoneroNode::find(1);

// Check status (without saving to DB)
$result = Monero::checkNodeStatus($node, 'api');

if ($result['status']) {
    echo "Process is running";
} else {
    echo "Process is down: " . $result['details']['message'];
}
```

**Check and update status in database:**

```
$node = Monero::updateNodeStatus($node, 'api');

if ($node->worked) {
    echo "Process is operational";
    // Details: $node->worked_data
}
```

**Check all nodes:**

```
$stats = Monero::checkAllNodesStatus('api');

echo "Total: {$stats['total']}, Working: {$stats['working']}, Failed: {$stats['failed']}";
```

**Health check endpoint:**

```
Route::get('/api/monero/health', function () {
    $stats = Monero::checkAllNodesStatus('api');
    return response()->json($stats, $stats['failed'] === 0 ? 200 : 503);
});
```

#### Automatic Monitoring

[](#automatic-monitoring)

The `php artisan monero` supervisor process automatically checks and updates the status of all processes every N seconds (configured via `monero.wallet_rpc.watcher_period`).

Status is stored in the database:

- `worked` (boolean) - whether the process is running
- `worked_data` (json) - detailed information about the last check

**Example of reading status from database:**

```
$node = MoneroNode::find(1);

if ($node->worked) {
    echo "Last check: {$node->worked_data['last_check']}";
} else {
    echo "Error: {$node->worked_data['message']}";
}
```

For more detailed information, see:

- [PROCESS\_MONITORING.md](PROCESS_MONITORING.md) - Complete documentation
- [EXAMPLES\_STATUS\_CHECK.md](EXAMPLES_STATUS_CHECK.md) - Quick code examples
- [STATUS\_CHECK\_SUMMARY.md](STATUS_CHECK_SUMMARY.md) - Summary of changes

### For Developers

[](#for-developers)

Command for build JS script:

```
npm i
npm run build
```

Support
-------

[](#support)

- Telegram: [@biodynamist](https://t.me/biodynamist)
- WhatsApp: [+905516294716](https://wa.me/905516294716)
- Web: [it-healer.com](https://it-healer.com)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [IT-HEALER](https://github.com/it-healer)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

↑

FairBetter than 91% of packages

Maintenance94

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~79 days

Total

5

Last Release

28d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/222434019?v=4)[IT-HEALER | Путь от Программиста к Целителю](/maintainers/it-healer)[@it-healer](https://github.com/it-healer)

---

Top Contributors

[![it-healer](https://avatars.githubusercontent.com/u/222434019?v=4)](https://github.com/it-healer "it-healer (5 commits)")

---

Tags

blockchaincryptocryptocurrencylaravellibrarymonerophpwalletxmrphplaravelMoneroit-healerXMR

### Embed Badge

![Health badge](/badges/it-healer-laravel-monero/health.svg)

```
[![Health](https://phpackages.com/badges/it-healer-laravel-monero/health.svg)](https://phpackages.com/packages/it-healer-laravel-monero)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
