PHPackages                             alexisgt01/we-router - 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. alexisgt01/we-router

ActivePackage[Framework](/categories/framework)

alexisgt01/we-router
====================

PHP Router based on Laravel syntax

v0.1(5y ago)09[1 PRs](https://github.com/Alexisgt01/weRouter/pulls)PHPPHP &gt;=5.6.0CI failing

Since May 13Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/Alexisgt01/weRouter)[ Packagist](https://packagist.org/packages/alexisgt01/we-router)[ Docs](https://github.com/Alexisgt01/weRouter)[ RSS](/packages/alexisgt01-we-router/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

weRouter
========

[](#werouter)

`composer require alexisgt01/we-router`

```
// router.php

use WeRouter\Router;

Router::setNamespace("App\\Controllers\\");

Router::get('/', 'HomeController@home');
Router::get('/article/{id}/{type}', 'HomeController@article');

Router::get('posts/{id}', function ($data) {
    echo $data['id'];
});

Router::post('/posts/create', 'PostController@create');

Router::post('/posts/create/{type}', function ($data) {
    echo $data['type'] . "\n";
    echo $data['input'];
});

Router::run();

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

2189d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40770618?v=4)[Alexis Gatuingt](/maintainers/Alexisgt01)[@Alexisgt01](https://github.com/Alexisgt01)

---

Top Contributors

[![Alexisgt01](https://avatars.githubusercontent.com/u/40770618?v=4)](https://github.com/Alexisgt01 "Alexisgt01 (9 commits)")

---

Tags

phprouterrouting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alexisgt01-we-router/health.svg)

```
[![Health](https://phpackages.com/badges/alexisgt01-we-router/health.svg)](https://phpackages.com/packages/alexisgt01-we-router)
```

###  Alternatives

[pecee/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

696214.6k17](/packages/pecee-simple-router)[developermarius/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

112.4k](/packages/developermarius-simple-router)

PHPackages © 2026

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