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

Abandoned → [guzzlehttp/guzzle](/?search=guzzlehttp%2Fguzzle)Library

yuca/basic-api-client
=====================

PHP client for Basic API request

v0.1.1(7y ago)02841[1 PRs](https://github.com/YucaApp/basic-api-client/pulls)MITPHPPHP &gt;=5.6

Since Apr 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/YucaApp/basic-api-client)[ Packagist](https://packagist.org/packages/yuca/basic-api-client)[ Docs](https://github.com/YucaApp/basic-api-client)[ RSS](/packages/yuca-basic-api-client/feed)WikiDiscussions master Synced 2mo ago

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

Basic API Client
----------------

[](#basic-api-client)

A simple PHP client to make an API request based on HTTP Basic Authentication.

Instalation
-----------

[](#instalation)

```
composer require yuca/basic-api-client
```

Usage
-----

[](#usage)

```
$client = new Yuca\BasicApiClient([
    'baseUrl' => 'https://example.com/api',
    'username' => 'username',
    'password' => 'password',
    'return' => 'array', // object or array
]);

$client->get('articles', ['limit' => 10]);

$client->post('article/create', ['title' => 'Awesome!']);
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

2836d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a13aaff462ca30ea692368d1a07f1c65f37a95d77655be3f3fe4bbe12464613?d=identicon)[adarmanto](/maintainers/adarmanto)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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