PHPackages                             sdavis1902/lunanode-api-php - 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. sdavis1902/lunanode-api-php

ActiveLibrary

sdavis1902/lunanode-api-php
===========================

Php Wrapper for Lunanode Virtual Hosting Api

1.0.4(8y ago)2531MITPHPPHP &gt;=5.5.0

Since Feb 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sdavis1902/lunanode-api-php)[ Packagist](https://packagist.org/packages/sdavis1902/lunanode-api-php)[ Docs](https://github.com/sdavis1902/LunanodeApiPhp)[ RSS](/packages/sdavis1902-lunanode-api-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

lunanode-api-php
================

[](#lunanode-api-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5b97e418f626a468caa7684053e8f0df8f814849eb34b80e5e3dbfd82ebf68b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736461766973313930322f6c756e616e6f64652d6170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sdavis1902/lunanode-api-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/0bdc05dfa6608287deea7c48c9f3b990f95c46077455b3023b50cd265b45a5c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736461766973313930322f6c756e616e6f64652d6170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sdavis1902/lunanode-api-php)

This is a simple wrapper for Lunanode Hostings api.

Install
-------

[](#install)

Via Composer

```
$ composer require sdavis1902/lunanode-api-php
```

Usage
-----

[](#usage)

```
$api = new \sdavis1902\LunanodeApiPhp\Lunanode($api_id, $api_key);
$vms = $api->request('vm', 'list');

foreach( $vms as $vm ){
    $info = $api->request('vm', 'info', [
        'vm_id' => $vm->vm_id
    ]);
}
```

Laravel 5

Add Service Provider and Alias ( not required for 5.5 )

```
'providers' => [
    ...
    sdavis1902\LunanodeApiPhp\Laravel\LunanodeServiceProvider::class,
],
```

```
'aliases' => [
    ...
    'Lunanode' => sdavis1902\LunanodeApiPhp\Laravel\Lunanode::class,
],
```

Add the following to your .env file

```
LND_API_ID=apiid
LND_API_KEY=apikey
```

Then call the same methods using the Facade

```
$vms = Lunanode::request('vm', 'list');

foreach( $vms as $vm ){
    $info = Lunanode::request('vm', 'info', [
        'vm_id' => $vm->vm_id
    ]);
}
```

Change log
----------

[](#change-log)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Scott D](https://github.com/sdavis1902)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~50 days

Total

5

Last Release

3184d ago

PHP version history (2 changes)1.0.0PHP ~5.6|~7.0

1.0.2PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/556a02644ea903c2997a4249eddba15e8139928daaa5fc1ba33f32ffc9243e57?d=identicon)[sdavis1902](/maintainers/sdavis1902)

---

Top Contributors

[![sdavis1902](https://avatars.githubusercontent.com/u/9748546?v=4)](https://github.com/sdavis1902 "sdavis1902 (10 commits)")

---

Tags

sdavis1902LunanodeApiPhp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sdavis1902-lunanode-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/sdavis1902-lunanode-api-php/health.svg)](https://phpackages.com/packages/sdavis1902-lunanode-api-php)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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