PHPackages                             poniverse/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. poniverse/api

ActiveLibrary

poniverse/api
=============

PHP Library to access the Poniverse APi

22161[1 PRs](https://github.com/Poniverse/poniverse-php/pulls)PHP

Since Jun 11Pushed 2y ago14 watchersCompare

[ Source](https://github.com/Poniverse/poniverse-php)[ Packagist](https://packagist.org/packages/poniverse/api)[ RSS](/packages/poniverse-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

poniverse-php
=============

[](#poniverse-php)

[![Build Status](https://camo.githubusercontent.com/2da6b78ada1790a6b578d565fe0b990c97a34d2d3d806377e3c5296c424f021b/68747470733a2f2f7472617669732d63692e6f72672f506f6e6976657273652f706f6e6976657273652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Poniverse/poniverse-php) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/5c1ee0db05fdf3cd03d8386c7f8ce8b6e82674cbb4437f3a6be22a9dfc2491eb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f506f6e6976657273652f706f6e6976657273652d7068702f6261646765732f7175616c6974792d73636f72652e706e673f733d37643531373532316334313263306164663134396265393431656562623832623133303531656339)](https://scrutinizer-ci.com/g/Poniverse/poniverse-php/) [![Code Coverage](https://camo.githubusercontent.com/9dbe4a1e478938ae022b5a762ca4ad9aa34137c5a972829a336a1798e15653d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f506f6e6976657273652f706f6e6976657273652d7068702f6261646765732f636f7665726167652e706e673f733d30376635383166376537396233326137303065316661643634393530663536313739613631626631)](https://scrutinizer-ci.com/g/Poniverse/poniverse-php/)

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

[](#installation)

Require this package in composer.json and update

```
"poniverse/api": "dev-master"

```

### Normal Setup

[](#normal-setup)

Example Code:

```
$config = [
    'client_id' => 'YOUR_CLIENT_ID'
    'client_secret' => 'YOUR_CLIENT_SECRET'
    'host_url' => 'https://api.poniverse.net'
];

$poniverse = new Poniverse(
    $config['client_id'],
    $config['client_secret'],
    new Client([
        'base_url' => [$config['host_url'], ['version' => 'v' . Poniverse::VERSION]]
    ])
);

$poniverse->setAccessToken('GRANTED_ACCESS_TOKEN');

$user = $poniverse->user->get();
// $user['display_name'];
// $user['email'];

```

### Laravel 4 Setup

[](#laravel-4-setup)

Open up `app/config/app.php` and add this line in your `providers` section

```
'Poniverse\Api\ApiServiceProvider',

```

In the same file add this line to the `aliases` section

```
'Poniverse' => 'Poniverse\Api\Facades\Poniverse',

```

Publish the configuration and then edit it

```
php artisan config:publish poniverse/api

```

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/233ce803885a5b6a96c1ec408fe839d75090fb249378df32158c23283d0f735b?d=identicon)[Lavoaster](/maintainers/Lavoaster)

![](https://www.gravatar.com/avatar/74cfd26268160ee4ca6a8c74144c17722ff2677e08016f9a536124e63f1b8395?d=identicon)[Feld0](/maintainers/Feld0)

---

Top Contributors

[![LavaToaster](https://avatars.githubusercontent.com/u/838613?v=4)](https://github.com/LavaToaster "LavaToaster (16 commits)")[![EventideGlow](https://avatars.githubusercontent.com/u/1666960?v=4)](https://github.com/EventideGlow "EventideGlow (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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