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

ActiveLibrary[Framework](/categories/framework)

miqoo1996/routing
=================

PHP routing

1.0(4y ago)03MITPHPPHP &gt;=5.4.0

Since Jun 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/miqoo1996/routing)[ Packagist](https://packagist.org/packages/miqoo1996/routing)[ Docs](http://imusthave.jermukcity.am)[ RSS](/packages/miqoo1996-routing/feed)WikiDiscussions master Synced 1w ago

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

PHP Routing
-----------

[](#php-routing)

- composer require miqoo1996/routing

```
Example Web Route

use miqoo1996\routing\Core\Route;
use miqoo1996\routing\Http\Controllers\ExampleController;

Route::get('/', [ExampleController::class, 'welcomePage']);
Route::post('/post', [ExampleController::class, 'post']);
Route::put('/put', [ExampleController::class, 'put']);
Route::patch('/patch', [ExampleController::class, 'patch']);
Route::delete('/delete', [ExampleController::class, 'delete']);
```

```
Example API Route

use miqoo1996\routing\Core\Route;
use miqoo1996\routing\Http\Controllers\BooksController;

Route::initializeRESTApi();

Route::get('/book', [BooksController::class, 'retrieve']);
Route::post('/book', [BooksController::class, 'store']);
Route::put('/book', [BooksController::class, 'update']);
Route::patch('/book', [BooksController::class, 'update']);
Route::delete('/book', [BooksController::class, 'delete']);
```

```
Controller Example

namespace miqoo1996\routing\Http\Controllers;

class BooksController
{
    private TestService $testService;

    public function __construct(TestService $testService)
    {
        $this->testService = $testService;
    }

    public function retrieve(YourTestCalss $yourTestCalss)
    {
        var_dump($yourTestCalss, $this->testService);
    }

    public function store()
    {

    }

    public function update()
    {

    }

    public function delete()
    {

    }
}
```

Additional
----------

[](#additional)

- Make .htaccess file to redirect all page to index.php if you dont have.

```

        Options -MultiViews -Indexes

    RewriteEngine On

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Send Requests To Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1786d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22522101?v=4)[miqoo1996](/maintainers/miqoo1996)[@miqoo1996](https://github.com/miqoo1996)

---

Top Contributors

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

---

Tags

phpcomposerroutingLaravel Routingmiqoo1996MiqayelIshkhanyan

### Embed Badge

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

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

PHPackages © 2026

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