PHPackages                             lihq1403/simple-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lihq1403/simple-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lihq1403/simple-client
======================

Simple Client.

1.0.1(2y ago)013.2k↑48.2%MITPHPPHP &gt;=7.4

Since Nov 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lihq1403/simple-client)[ Packagist](https://packagist.org/packages/lihq1403/simple-client)[ RSS](/packages/lihq1403-simple-client/feed)WikiDiscussions main Synced today

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

 simple-client
===============

[](#-simple-client-)

 简易请求封装

Installing
----------

[](#installing)

```
$ composer require lihq1403/simple-client -vvv
```

Usage
-----

[](#usage)

```
$config = [
    'host' => 'https://restapi.amap.com',
    'sdk_name' => 'xxx',
    'sdk_version' => '1.0.1',
    'component' => [
        'logger' => null, // 日志组件
        'client' => null, // guzzle客户端
    ],
];
$app = new Application($config);

$simpleClient = new SimpleClient($app);
$actualResponse = $simpleClient->get('/v3/weather/weatherInfo', [
    'query' => [
        'key' => 'mock-key',
        'city' => '深圳',
        'output' => 'json',
        'extensions' => 'base',
    ],
]);
```

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

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

Total

2

Last Release

920d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e0ed12e0a107565d6a1bb00bcd6d6c90a18ec5d1c6d0c7dddeee64b54f96bc4?d=identicon)[lihq1403](/maintainers/lihq1403)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/lihq1403-simple-client/health.svg)

```
[![Health](https://phpackages.com/badges/lihq1403-simple-client/health.svg)](https://phpackages.com/packages/lihq1403-simple-client)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k41](/packages/civicrm-civicrm-core)[oat-sa/tao-core

TAO core extension

66143.7k121](/packages/oat-sa-tao-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)

PHPackages © 2026

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