PHPackages                             sergix44/gradio-client-php - 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. sergix44/gradio-client-php

ActiveLibrary

sergix44/gradio-client-php
==========================

Gradio client for PHP

0.1.3(2y ago)155034[1 issues](https://github.com/SergiX44/gradio-client-php/issues)[1 PRs](https://github.com/SergiX44/gradio-client-php/pulls)MITPHPPHP ^8.2

Since Aug 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/SergiX44/gradio-client-php)[ Packagist](https://packagist.org/packages/sergix44/gradio-client-php)[ Docs](https://github.com/SergiX44/gradio-client-php)[ GitHub Sponsors](https://github.com/SergiX44)[ RSS](/packages/sergix44-gradio-client-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (9)Used By (0)

Gradio Client for PHP
=====================

[](#gradio-client-for-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/648bbbd522bb3befa7c53df57d139c26cb9adfcf6c70d07d297d06470bff749c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73657267697834342f67726164696f2d636c69656e742d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sergix44/gradio-client-php)[![Tests](https://camo.githubusercontent.com/ee113401a7d3de3410242151a3987b33e151538f34940af9cee2b9cbbe096d1b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f73657267697834342f67726164696f2d636c69656e742d7068702f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/sergix44/gradio-client-php/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/e7e140592718a979f4af960fdb9d709a1f0098db41ea8cefe6048b09f720d1c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73657267697834342f67726164696f2d636c69656e742d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sergix44/gradio-client-php)

A PHP client to call [Gradio](https://www.gradio.app) APIs.

TODO
----

[](#todo)

- HTTP and WS support
- `predict`
- getConfig
- client options
- hf\_token support
- viewApi
- Finish event system
- Add tests
- Add more examples
- Add documentation

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

[](#installation)

You can install the package via composer:

```
composer require sergix44/gradio-client-php
```

Usage
-----

[](#usage)

```
use SergiX44\Gradio\Client;

$client = new Client('https://my-special.hf.space');

$result = $client->predict(['arg', 1, 2], apiName: 'myFunction');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Sergio Brighenti](https://github.com/SergiX44)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81% 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 ~38 days

Recently: every ~10 days

Total

7

Last Release

776d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08bc14acf1f7db717de09e715047f5b5684841d6b9712129334931fa8833beda?d=identicon)[SergiX44](/maintainers/SergiX44)

---

Top Contributors

[![sergix44](https://avatars.githubusercontent.com/u/4172890?v=4)](https://github.com/sergix44 "sergix44 (34 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![ikarolaborda](https://avatars.githubusercontent.com/u/12631361?v=4)](https://github.com/ikarolaborda "ikarolaborda (1 commits)")

---

Tags

sergix44gradio-client-php

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/sergix44-gradio-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/sergix44-gradio-client-php/health.svg)](https://phpackages.com/packages/sergix44-gradio-client-php)
```

###  Alternatives

[nutgram/nutgram

The Telegram bot library that doesn't drive you nuts

714214.9k8](/packages/nutgram-nutgram)[neuron-core/neuron-ai

The PHP Agentic Framework.

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

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)

PHPackages © 2026

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