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

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

codenix-sv/api-client
=====================

PHP API client

v1.0.0(6y ago)0742MITPHPPHP &gt;=7.2

Since Mar 18Pushed 5mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (12)Versions (2)Used By (2)

This repository is no longer active.
====================================

[](#this-repository-is-no-longer-active)

⛔ No new issues ⛔ No pull requests ⛔ No maintenance

Source code is kept only for reference purposes.

PHP API Client
==============

[](#php-api-client)

[![Build Status](https://camo.githubusercontent.com/5afd0746381e317c7f6a55f212fd84f2e0ab7774c85d561e7d7fbabd4746c2a5/68747470733a2f2f7472617669732d63692e6f72672f636f64656e69782d73762f6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/codenix-sv/api-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4d6cecc73b9158cc15b8acab4e40f059baa01027b62affb35f7a922cfaad764a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f64656e69782d73762f6170692d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/codenix-sv/api-client/?branch=master)[![Test Coverage](https://camo.githubusercontent.com/c6bcb7d06d04798ac2c09f9d4fba2b1bd85f8961f4a65dc10aa40f47d0c630b5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62343934663638663036653735643435666336382f746573745f636f766572616765)](https://codeclimate.com/github/codenix-sv/api-client/test_coverage)[![Maintainability](https://camo.githubusercontent.com/eb100d3352c52980b092be773a40e79d0787ffdc1533f2d2d20485e2d6b6a271/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62343934663638663036653735643435666336382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/codenix-sv/api-client/maintainability)[![License: MIT](https://camo.githubusercontent.com/e5687e96a33e9a88e8b7595024204bf613b28757a74e6b73013a9c383d288c79/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64656e69782d73762f6170692d636c69656e74)](https://github.com/codenix-sv/api-client/blob/master/LICENSE)

A simple API client, written with PHP that's easy to use.

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

[](#requirements)

- PHP &gt;= 7.2
- A [HTTP client](https://packagist.org/providers/php-http/client-implementation)
- A [PSR-7 implementation](https://packagist.org/providers/psr/http-message-implementation)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require codenix-sv/api-client
```

or add

```
"codenix-sv/api-client": "^1.0"
```

to the require section of your application's `composer.json` file.

Make sure you have installed a PSR-18 HTTP Client and PSR-7 message implementation before you install this package. For example:

```
$ composer require php-http/curl-client nyholm/psr7
```

Examples
--------

[](#examples)

*Send GET request*

```
use Codenixsv\ApiClient\BaseClient;

$client = new BaseClient();
$response = $client->get('https://httpbin.org/get');
```

*Send POST request*

```
use Codenixsv\ApiClient\BaseClient;

$client = new BaseClient();
$response = $client->post('https://httpbin.org/post', 'foo=bar');
```

License
-------

[](#license)

`codenix-sv/api-client` is released under the MIT License. See the bundled [LICENSE](./LICENSE) for details.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance48

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community11

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

Unknown

Total

1

Last Release

2252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8907d07b122404a37d236411aa11851e36f8693183439572675ffcbddb3fdfe?d=identicon)[codenix-sv](/maintainers/codenix-sv)

---

Top Contributors

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

---

Tags

apiapi-clientapi-client-phpphppsr-18psr-7simple-apisimple-api-clientpsr-7phpapiclientpsr-18api client

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[vultr/vultr-php

The Official Vultr API PHP Wrapper.

2243.9k1](/packages/vultr-vultr-php)[art4/requests-psr18-adapter

Use WordPress/Requests as a PSR-18 HTTP client

153.3k](/packages/art4-requests-psr18-adapter)[chillerlan/php-httpinterface

A PSR-7/17/18 http message/client implementation

1417.1k5](/packages/chillerlan-php-httpinterface)

PHPackages © 2026

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