PHPackages                             remcodex/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. [HTTP &amp; Networking](/categories/http)
4. /
5. remcodex/client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

remcodex/client
===============

Remote code execution client

22PHP

Since Feb 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/remcodex/client)[ Packagist](https://packagist.org/packages/remcodex/client)[ RSS](/packages/remcodex-client/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RCE Client
==========

[](#rce-client)

Remote code execution client - this library uses [Guzwrap](https://github.com/Ahmard/guzwrap) to construct request and then send it to [RCE Server](https://github.com/remcodex/server).
[RCE Server](https://github.com/remcodex/server) will then perform the actual request and return the response to the client.

Notice 🔊
--------

[](#notice-)

This project is currently receiving massive updates, which may include code refactoring, namespace change, and many other stuffs that may cause the code to brake or not work entirely.
**This project is not ready!!!**

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

[](#installation)

```
composer require remcodex/client
```

Usage
-----

[](#usage)

The following request will be encoded to json and send it to [RCE Server](https://github.com/remcodex/server#simple-server), the server will then decode the request and execute it and return the response to client.

```
use Guzwrap\Wrapper\Form;
use Guzwrap\UserAgent;
use Remcodex\Client\Http\Request;

require 'vendor/autoload.php';

$response = Request::create()
    ->post(function (Form $form){
        $form->action('http://localhost:8000');
        $form->method('post');
        $form->field('name', 'Ahmard');
        $form->field('time', date('H:i:s'));
    })
    ->userAgent(UserAgent::OPERA)
    ->withSharedCookie()
    ->debug()
    ->execute();

var_dump($response->getSuccess()->getData());
```

Start server

```
php server.php
```

### Custom remote address

[](#custom-remote-address)

Set your prepared remote [server](https://github.com/remcodex/server)/ [router](https://github.com/remcodex/router) address.

The following code will send request to ****using router hosted at ****

```
use Remcodex\Client\Http\Request;

$response = Request::create()
    ->remoteAddress('http://localhost:9000')
    ->get('http://localhost:8000')
    ->exec();
```

### List remote servers

[](#list-remote-servers)

List servers hosted in [RCE Router](https://github.com/remcodex/router)

```
use Remcodex\Client\Http\Request;

$servers = Request::listServers();
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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.

### Community

Maintainers

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

---

Tags

guzwrapguzzleguzzlehttphttpphprceremcodexremote-execution

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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