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

ActiveLibrary[API Development](/categories/api)

schenke-io/api-client
=====================

simple CURL based api client for applications without a SDK

v0.4.0(2y ago)011MITPHPPHP ^8.1

Since Aug 27Pushed 2y ago1 watchersCompare

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

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

Simple api client
=================

[](#simple-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5552ffa2c8f5b5a2404a0c7a1aaee261d6d226f25b9af8bb2759afc7d451c8a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736368656e6b652d696f2f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schenke-io/api-client)[![GitHub Tests Action Status](https://camo.githubusercontent.com/378ff84219f8aaf2751a266ac4f6337ec34e12f71b83a7b2d68ee1c659f82da6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736368656e6b652d696f2f6170692d636c69656e742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/schenke-io/api-client/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f6dd446c20b52b423f7989a3ff99641700f09e10f522b4a85f9cb6cc2b57f701/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736368656e6b652d696f2f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schenke-io/api-client)

simple CURL based api client for applications without a SDK

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

[](#installation)

```
composer require schenke-io/api-client
```

Usage
-----

[](#usage)

Build a local class which extends `BaseClient`or `BaseJsonClient`.

```
#app/MyClass.php

class MyClass extends BaseClient {

    public function getAuthHeader(): array
    {
        return [
            'Authorization: Bearer '
        ];
    }
}
```

Then use this class like this:

```
#app/MyClass.php

$api = new MyClass('https://example.com/api/v2/');
$result = $api->get('/users');
print_r($result);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

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

12

Last Release

994d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf5dcac54b57dafc55c594db6ba9cb3a9a27b808f77e5cc3cda6071f56f5ad9e?d=identicon)[schenke-io](/maintainers/schenke-io)

---

Top Contributors

[![Tioranat](https://avatars.githubusercontent.com/u/62396828?v=4)](https://github.com/Tioranat "Tioranat (13 commits)")[![schenke-io](https://avatars.githubusercontent.com/u/111449674?v=4)](https://github.com/schenke-io "schenke-io (1 commits)")

---

Tags

schenke-io

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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