PHPackages                             jsnlib/restful\_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. jsnlib/restful\_client

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

jsnlib/restful\_client
======================

1.3.0(7y ago)11551MITPHPPHP &gt;=7.0.0

Since Apr 25Pushed 7y agoCompare

[ Source](https://github.com/fdjkgh580/jsnlib-restful_client)[ Packagist](https://packagist.org/packages/jsnlib/restful_client)[ Docs](https://github.com/fdjkgh580/restful_client)[ RSS](/packages/jsnlib-restful-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (7)Used By (1)

restful\_client
===============

[](#restful_client)

安裝
--

[](#安裝)

composer require jsnlib/restful\_client

使用方式
----

[](#使用方式)

```
require_once '../vendor/autoload.php';

$client = new \Jsnlib\Restful\Client(
[
    'base_uri' => 'http://dev.api.westamps.com/v1/'
]);
```

```
$result = $client->get('method',
[
    'Say' => 'Hello World'
]);
$result = $client->post('method',
[
    'Say' => 'Hello World'
]);
$result = $client->put('method',
[
    'Say' => 'Hello World'
]);
$result = $client->patch('method',
[
    'Say' => 'Hello World'
]);
$result = $client->delete('method',
[
    'Say' => 'Hello World'
]);
```

### POST

[](#post)

文件上傳，如 video 有多筆

```
$result = $client->post('method',
[
    [
        'name'     => 'video[]',
        'contents' => fopen('demo/demo.mp4', 'r')
    ],
], true);
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~164 days

Total

6

Last Release

2649d ago

PHP version history (2 changes)1.0.1PHP &gt;=7.0

1.1.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4161e8ee5212efdcdaa6a42183109f397f25c852655ec4b73cce9920cf94f2a?d=identicon)[fdjkgh580](/maintainers/fdjkgh580)

---

Top Contributors

[![fdjkgh580-2](https://avatars.githubusercontent.com/u/60056647?v=4)](https://github.com/fdjkgh580-2 "fdjkgh580-2 (12 commits)")

---

Tags

clienthelpercodeigniterrestful

### Embed Badge

![Health badge](/badges/jsnlib-restful-client/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[nguyenanhung/codeigniter-basic-helper

CodeIgniter - Basic Helper

1027.3k1](/packages/nguyenanhung-codeigniter-basic-helper)

PHPackages © 2026

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