PHPackages                             ner0tic/php-api-core - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. ner0tic/php-api-core

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ner0tic/php-api-core
====================

core elements of a REST styled api walker

2.0.4(13y ago)01423MITPHPPHP &gt;=5.4

Since Dec 1Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ner0tic/php-api-core)[ Packagist](https://packagist.org/packages/ner0tic/php-api-core)[ Docs](http://daviddurost.net)[ RSS](/packages/ner0tic-php-api-core/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (16)Used By (3)

php-api-core
============

[](#php-api-core)

ORM agnostic php library to access REST apis

Usage
=====

[](#usage)

```
use Ner0tic\ApiEngine\Api\AbstractApi;

$api = new AbstractApi();
$client = $api->getClient();
```

If you have api keys to use, mash them into a [pem](google.com) file and set the `certificate` option to the path of the file.

```
$client->setOption('certificate', $pem_file);
```

Make a query

```
$result = $api->get($endpoint, $parameters, $request_options);
```

Working example:

```
use Ner0tic\ApiEngine\Api\AbstractApi();

$api = new AbstractApi();
$client = $api->getClient();

$users = $client->get('users', array('last_name' => 'smith'));

foreach($users as $user)
  $user = new \Acme\UserBundle\Entity\User($user);

// ... use $users as needed
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

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

Recently: every ~66 days

Total

15

Last Release

4496d ago

Major Versions

1.0.9 → 2.0.02013-05-03

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/161227?v=4)[David Durost](/maintainers/ner0tic)[@ner0tic](https://github.com/ner0tic)

---

Top Contributors

[![ner0tic](https://avatars.githubusercontent.com/u/161227?v=4)](https://github.com/ner0tic "ner0tic (50 commits)")

---

Tags

apirestcore

### Embed Badge

![Health badge](/badges/ner0tic-php-api-core/health.svg)

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

###  Alternatives

[hgg/pardot

Pardot API library for building custom CRM connectors

2399.6k](/packages/hgg-pardot)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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