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

ActiveLibrary[API Development](/categories/api)

lacunaphp/api-client
====================

0.5.5(10y ago)1272MITPHPPHP &gt;=5.4.0

Since Feb 8Pushed 10y ago2 watchersCompare

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

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

LacunaPHP API Client
====================

[](#lacunaphp-api-client)

[![Build Status](https://camo.githubusercontent.com/58420cfb9cab2ec9883562036cbce41c5ebf91a4d0b288407648976197df4d8b/68747470733a2f2f7472617669732d63692e6f72672f6c6163756e617068702f6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lacunaphp/api-client)

### Installing via Composer

[](#installing-via-composer)

The recommended method of installation is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

```
composer require lacunaphp/api-client
```

```
{
	"require": {
		"lacunaphp/api-client": "~0.1"
	}
}
```

### Usage

[](#usage)

```
require_once('vendor/autoload.php');

use LacunaPHP\APIClient\Client;

$client = new Client('https://us1.lacunaexpanse.com');

try {
	$result = $client->empire->login([
		'name'     => 'empire-name',
		'password' => 'empire-password',
		'api_key'  => 'anonymous'
	]);
} catch($error) {
	...
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Recently: every ~82 days

Total

14

Last Release

3722d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d26c12737c49aff4f8028eaf2283071ed7a08ba74b83a6731b9d5e057740abc?d=identicon)[abyssinia](/maintainers/abyssinia)

---

Top Contributors

[![abyssinia](https://avatars.githubusercontent.com/u/8550716?v=4)](https://github.com/abyssinia "abyssinia (129 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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