PHPackages                             primeinc/edgeapi - 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. primeinc/edgeapi

ActiveLibrary[API Development](/categories/api)

primeinc/edgeapi
================

A PHP wrapper for the EdgeOS API

0.0.1.x-dev(10y ago)271[1 issues](https://github.com/primeinc/EdgeAPI/issues)MITPHP

Since Jun 16Pushed 10y ago3 watchersCompare

[ Source](https://github.com/primeinc/EdgeAPI)[ Packagist](https://packagist.org/packages/primeinc/edgeapi)[ RSS](/packages/primeinc-edgeapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

EdgeAPI
=======

[](#edgeapi)

A PHP wrapper for the EdgeOS API

### Installation

[](#installation)

1. Use [Composer](http://getcomposer.org) to install EdgeAPI into your project:

    ```
    composer require primeinc/edgeapi
    ```
2. Setup the endpoint and guzzle client

    ```
    //create new endpoint config, with required info
    $endpoint = new \PrimeInc\EdgeApi\Endpoint(array(
        'protocol' => 'https',
        'domain' => '192.168.1.1',
        'port' => '443',
        'username' => 'ubnt',
        'password' => 'ubnt',
        // don't have a valid cert? set the following to false
        'verify' => true
    ));
    $client = new \PrimeInc\EdgeApi\Client($endpoint);
    $client->data('sys_info');

    echo $client->prettyJson(); // this will grab the last data fetched automatically
    ```

    For more options, have a look at the **example files** in `examples/` to get a feel for how things work. There is also a standalone template if you don't wish to use this libray.

### Todo's

[](#todos)

- Catch &amp; Handle Errors
- Write Tests
- Ability to change endpoint configuration via POST requests

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

3990d ago

### Community

Maintainers

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

---

Top Contributors

[![primeinc](https://avatars.githubusercontent.com/u/4395149?v=4)](https://github.com/primeinc "primeinc (6 commits)")

### Embed Badge

![Health badge](/badges/primeinc-edgeapi/health.svg)

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

###  Alternatives

[rackspace/php-opencloud

PHP SDK for Rackspace/OpenStack APIs

4495.9M38](/packages/rackspace-php-opencloud)[cdaguerre/php-trello-api

Trello API v2 client

255666.7k3](/packages/cdaguerre-php-trello-api)[dchesterton/marketo-rest-api

A PHP client for the Marketo.com REST API

41844.1k1](/packages/dchesterton-marketo-rest-api)[carlosio/geckoboard

A PHP library for dealing with Geckoboard API (http://www.geckoboard.com)

40172.2k](/packages/carlosio-geckoboard)[teepluss/api

Laravel 4 Internal Request (HMVC)

7034.0k](/packages/teepluss-api)[jlinn/mandrill-api-php

A PHP client library for Mandrill's REST API

24117.4k](/packages/jlinn-mandrill-api-php)

PHPackages © 2026

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