PHPackages                             chonla/alex - 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. [Framework](/categories/framework)
4. /
5. chonla/alex

ActiveLibrary[Framework](/categories/framework)

chonla/alex
===========

A pico-sized PHP framework.

0.1.2(7y ago)011MITPHP

Since Aug 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/chonla/alex)[ Packagist](https://packagist.org/packages/chonla/alex)[ RSS](/packages/chonla-alex/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)DependenciesVersions (3)Used By (0)

Alex
====

[](#alex)

A pico-sized PHP framework.

Feature
-------

[](#feature)

- HTTP Router with named routes.
- PassThrough Response - Non-cached proxy for GET requests.
- Json Response - Return JSON response.

Example
-------

[](#example)

```
$r = new Alex\Router();
$r->get('/', 'hello');
$r->get('/aa', 'hello 2');
$r->get('/bb', 'hello 3');
$r->get('/bb/:id', function($id) {
    return new Alex\JsonResponse(200, [
        'message' => 'It works! ID is '. print_r($id, true)
    ]);
});
$r->get('/cc/test', function() {
    return new Alex\PassThroughResponse('http://www.google.com');
});
$r->post('/cc/test', function() {
    return new Alex\JsonResponse(201, (new Alex\JsonRequest())->toJson());
});
$r->put('/cc/test', function() {
    return new Alex\JsonResponse(200, (new Alex\JsonRequest())->toJson());
});
$r->delete('/cc/test', function() {
    return new Alex\JsonResponse(200, [
        'message' => 'It works! Item has gone'
    ]);
});

$r->go();

```

Tests
-----

[](#tests)

Sorry, no tests so far.

License
-------

[](#license)

MIT:

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

2874d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75bc2a7e074d8de6c62a4ab4ebb97c4aa1bec260d3cf39018b5c4de00215f401?d=identicon)[chonla](/maintainers/chonla)

---

Top Contributors

[![chonla](https://avatars.githubusercontent.com/u/1852635?v=4)](https://github.com/chonla "chonla (15 commits)")

### Embed Badge

![Health badge](/badges/chonla-alex/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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