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 today

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 27% 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

2824d 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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M257](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M593](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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