PHPackages                             dasbit/apiclient - 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. dasbit/apiclient

ActiveLibrary

dasbit/apiclient
================

Simple api client wrapper without throwing exceptions with statuscodes

0.1.1(5y ago)07MITPHPPHP &gt;=7.4

Since Dec 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dasbit/apiclient)[ Packagist](https://packagist.org/packages/dasbit/apiclient)[ Docs](https://github.com/dasbit/apiclient)[ RSS](/packages/dasbit-apiclient/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

apiclient
=========

[](#apiclient)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a6da00ef1da9e72404fadd1ee49149ed00c1fb700a27f789e0ae2f919f575ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461736269742f617069636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dasbit/apiclient)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/336d9f8bcd7375c1f3d9395d2895f7d5c238c96f0ed5840ec10e67a67d480a3e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6461736269742f617069636c69656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/dasbit/apiclient)[![Coverage Status](https://camo.githubusercontent.com/21d06eccceca244c9cfbc097861d1deb736d7ff5a83f06e6ea219e08900157f4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6461736269742f617069636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/dasbit/apiclient/code-structure)[![Quality Score](https://camo.githubusercontent.com/2896a34e23cf06b10c2668ed2bf7fe9114e19c7d633b6377736b55210af7348b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6461736269742f617069636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/dasbit/apiclient)[![Total Downloads](https://camo.githubusercontent.com/c7b1039fccbc75115bfbeb15e9d8d698e096361e2972d6b5fd4cb5640beaa7df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461736269742f617069636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dasbit/apiclient)

Simple api client wrapper without throwing exceptions with statuscodes

Install
-------

[](#install)

Via Composer

```
$ composer require dasbit/apiclient
```

Usage
-----

[](#usage)

```
$api = new dasbit\apiclient(new Guzzle, 'https://example-host.com/api');
$api->authenticate('login', 'password');
$response = $api->request('/entity-list');
$code = $response['code'];
$responseBody = $response['body']; // assoc array of decoded json string
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Dastan Abylkhassov](https://github.com/dasbit)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

1976d ago

PHP version history (2 changes)0.1PHP ~7.4

0.1.1PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11429743?v=4)[Dastan Abylkhassov](/maintainers/dasbit)[@dasbit](https://github.com/dasbit)

---

Top Contributors

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

---

Tags

apiclientdasbit

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dasbit-apiclient/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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