PHPackages                             aalfiann/reverser - 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. aalfiann/reverser

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

aalfiann/reverser
=================

Reversing your actual backend behind PHP.

1.1.0(6y ago)0302MITPHPPHP &gt;=5.6

Since May 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/aalfiann/reverser)[ Packagist](https://packagist.org/packages/aalfiann/reverser)[ RSS](/packages/aalfiann-reverser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Reverser
========

[](#reverser)

[![Version](https://camo.githubusercontent.com/94d2319972784ed62125dd2200572e3433cd83a4448cd94d03fb08aa25a91cd5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61616c6669616e6e2f72657665727365722e737667)](https://packagist.org/packages/aalfiann/reverser)[![Downloads](https://camo.githubusercontent.com/67c3ed58b5f0469757c8b9ac505f4e80d13c65e2ea24867c342219f3886b134b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61616c6669616e6e2f72657665727365722e737667)](https://packagist.org/packages/aalfiann/reverser)[![License](https://camo.githubusercontent.com/5600367a408cf20fe73c9dd69830e4e156e4562fe80415fdbb404cc99c53b1bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61616c6669616e6e2f72657665727365722e737667)](https://github.com/aalfiann/reverser/blob/HEAD/LICENSE.md)

Reversing your actual backend behind PHP.

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

[](#installation)

Install this package via [Composer](https://getcomposer.org/).

```
composer require "aalfiann/reverser:^1.0"

```

How to use
----------

[](#how-to-use)

Create new file `index.php`

```
use aalfiann\Reverser\Handler;
require_once ('vendor/autoload.php');

$handler = new Handler('https://yourbackend.com:8080');

// Prevents cURL from hanging on errors
$handler->setCurlOption(CURLOPT_CONNECTTIMEOUT, 1);
$handler->setCurlOption(CURLOPT_TIMEOUT, 5);

// This ignores HTTPS certificate verification, libcurl decided not to bundle ca certs anymore.
// Alternatively, specify CURLOPT_CAINFO, or CURLOPT_CAPATH if you have access to your cert(s)
$handler->setCurlOption(CURLOPT_SSL_VERIFYPEER, false);
$handler->setCurlOption(CURLOPT_SSL_VERIFYHOST, false);

// Check for a success
if ($handler->execute()) {
    //print_r($handler->getCurlInfo()); // Uncomment to see request info
} else {
    echo 'Oops, something went wrong!';
}

// close handler
$handler->close();
```

Example apache `.htaccess`

```
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-l [NC]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteCond %{REQUEST_URI} !^/index.php
RewriteRule ^(.+)$ index.php/$1 [QSA]

```

Note
----

[](#note)

- Not strong in high traffic because this package doesn't included with **Cache**.
- HTMLProxyHandler class is require **"https"** protocol enabled in Libcurl.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2525d ago

### Community

Maintainers

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

---

Top Contributors

[![aalfiann](https://avatars.githubusercontent.com/u/9458941?v=4)](https://github.com/aalfiann "aalfiann (5 commits)")

---

Tags

apirestserverbackendreverse

### Embed Badge

![Health badge](/badges/aalfiann-reverser/health.svg)

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

###  Alternatives

[ezralazuardy/heimdall

Painless OAuth 2.0 Server for CodeIgniter 4

454.2k](/packages/ezralazuardy-heimdall)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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