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 3w 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 4% 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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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