PHPackages                             rms-api/rms-api - 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. [API Development](/categories/api)
4. /
5. rms-api/rms-api

ActiveLibrary[API Development](/categories/api)

rms-api/rms-api
===============

RMS API for RMS Management System.

1.0.2(1y ago)050MITPHPPHP ^8.1

Since May 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Gicehajunior/rms-api)[ Packagist](https://packagist.org/packages/rms-api/rms-api)[ Docs](https://www.github.com/rms-api)[ RSS](/packages/rms-api-rms-api/feed)WikiDiscussions main Synced 1mo ago

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

RMSAPI PHP Client
-----------------

[](#rmsapi-php-client)

Introduction
------------

[](#introduction)

RMSAPI PHP Client is a library that facilitates interaction with the RMS Super Controller module for managing various tasks such as server operations, updates handling, and more.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0
- PhpZip library
- Carbon library

Installation
------------

[](#installation)

You can install the RMSAPI PHP Client library via Composer. Run the following command in your project directory:

```
composer require rmsapi/rms
```

Usage
-----

[](#usage)

```
use RMSAPI\RMS\RMSAPI;

// Initialize RMSAPI instance
$rmsApi = new RMSAPI($api_key, $app_id);

// Sample usage: Check for updates availability
$updateStatus = $rmsApi->check_updates();
var_dump($updateStatus);
```

Features
--------

[](#features)

### 1. Server Operations

[](#1-server-operations)

- **Run Server:** Start a PHP server locally.

### 2. Updates Management

[](#2-updates-management)

- **Compile Updates:** Assemble updates into a zip file while excluding files specified in the ignore list.
- **Generate Controllers:** Generate controller files if they don't exist already.
- **Download Updates:** Download updates if available.
- **Install Updates:** Install updates if available.

### 3. Miscellaneous

[](#3-miscellaneous)

- **Environment Variables:** Retrieve environment variables from the `.env` file.
- **Invoice Generation:** Initiate the process of generating invoices via API.

Class Methods
-------------

[](#class-methods)

### Constructor

[](#constructor)

- `__construct($api_key, $app_id)`: Initializes API key, app ID, and API endpoint.

### Server Operations

[](#server-operations)

- `SPCMD($argv, $argc)`: Parses command-line arguments and executes corresponding actions.

### Updates Management

[](#updates-management)

- `updatesAssembler($zipFileName)`: Assembles updates into a zip file.
- `generate_controllers($controllers)`: Generates controller files.
- `download_updates()`: Downloads updates if available.
- `install_updates()`: Installs updates if available.

### Miscellaneous

[](#miscellaneous)

- `env($var_name)`: Retrieves environment variables.
- `invoice()`: Initiates invoice generation via API.

License
-------

[](#license)

This library is licensed under the MIT License. See the [LICENSE](https://github.com/Gicehajunior/rms-api/blob/main/LICENSE) file for details.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

3

Last Release

561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a48ce1bb37d54415fa911f2aeaec5a5450e2df2e8eaaa7baba68b8945bbe9a12?d=identicon)[gicehajunior](/maintainers/gicehajunior)

---

Top Contributors

[![Gicehajunior](https://avatars.githubusercontent.com/u/49983428?v=4)](https://github.com/Gicehajunior "Gicehajunior (5 commits)")

---

Tags

phpapirms

### Embed Badge

![Health badge](/badges/rms-api-rms-api/health.svg)

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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