PHPackages                             ahmmmmad11/inhanced-routing - 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. ahmmmmad11/inhanced-routing

ActiveLibrary[Framework](/categories/framework)

ahmmmmad11/inhanced-routing
===========================

alternative laravel routing package

1.0.0(3y ago)37MITPHP

Since Apr 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ahmmmmad11/enhanced-routing)[ Packagist](https://packagist.org/packages/ahmmmmad11/inhanced-routing)[ RSS](/packages/ahmmmmad11-inhanced-routing/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

enhanced-routing
================

[](#enhanced-routing)

extends Laravel routing package to add more functionality, For this version we provide the ability to allow multiple explicit route binding fields.

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

[](#installation)

```
composer required ahmmmmad11/enhanced-routing

```

Now open `config/app.php` and add the service provider to your providers array.

```
'providers' => [
/*
 * Package Service Providers...
 */

 \Ahmmmmad11\Routing\RoutingServiceProvider::class,
]

```

then go to `app/Http/Kernal` and add the follwing code

```
//import Router class and Application Interface
use Ahmmmmad11\Routing\Router;
use Illuminate\Contracts\Foundation\Application;

// add this constructer inside Kernal class
public function __construct(Application $app, Router $router)
{
    $this->app = $app;
    $this->router = $router;

    $this->syncMiddlewareToRouter();
}

```

usage
-----

[](#usage)

if you successfully intalled the package now you can bind multiple fields to the route

```
Route::get('users/{user:email,username,id}', function(User $user) {
    return $user;
});

```

now you can access this route in many ways, like:

```
// http://127.0.0.1:8000/users/1
or
// http://127.0.0.1:8000/users/firstuser@example.com
or
// http://127.0.0.1:8000/users/firstuser

```

> **warning**
> please allways place numeric fields (`int`, `float` and ...) as the last options for example do `{user:email,username,id}` not `{user:id,email,username}`

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

1137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97464629c35224b22d9f635fabd9dd36bb6c758f9c254d1a3a694b43130159ab?d=identicon)[alamerahmed00](/maintainers/alamerahmed00)

---

Top Contributors

[![ahmedev98](https://avatars.githubusercontent.com/u/86661368?v=4)](https://github.com/ahmedev98 "ahmedev98 (4 commits)")[![ahmmmmad11](https://avatars.githubusercontent.com/u/42531546?v=4)](https://github.com/ahmmmmad11 "ahmmmmad11 (4 commits)")

### Embed Badge

![Health badge](/badges/ahmmmmad11-inhanced-routing/health.svg)

```
[![Health](https://phpackages.com/badges/ahmmmmad11-inhanced-routing/health.svg)](https://phpackages.com/packages/ahmmmmad11-inhanced-routing)
```

###  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.7M259](/packages/laravel-dusk)[laravel/prompts

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

708181.8M596](/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)
