PHPackages                             inmanturbo/path-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. inmanturbo/path-router

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

inmanturbo/path-router
======================

This is my package path-router

v1.0.3(2y ago)0161[3 PRs](https://github.com/inmanturbo/path-router/pulls)MITPHPPHP ^8.1

Since Aug 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/inmanturbo/path-router)[ Packagist](https://packagist.org/packages/inmanturbo/path-router)[ Docs](https://github.com/inmanturbo/path-router)[ RSS](/packages/inmanturbo-path-router/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (12)Versions (9)Used By (0)

This is my package path-router
==============================

[](#this-is-my-package-path-router)

[![Latest Version on Packagist](https://camo.githubusercontent.com/15a0e1bd779ca686c97800ea24fe4951035b5d2a8de0d6a5edc1c599801c85b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6d616e747572626f2f706174682d726f757465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/inmanturbo/path-router)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e3ff5f2264513d22f9c85dd85df3e0605dd5f821195a84d77e4debc0e547e86d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f696e6d616e747572626f2f706174682d726f757465722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/inmanturbo/path-router/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cd67fb97183a79136c5f56f1ad25e19ba8c69635a650ec082b859a24f7e9a1a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f696e6d616e747572626f2f706174682d726f757465722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/inmanturbo/path-router/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c89d8d6b75cd9e401312c04bb711c0cb8c0a1fbb571e740304af9a026b47ed8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6d616e747572626f2f706174682d726f757465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/inmanturbo/path-router)

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

[](#installation)

You can install the package via composer:

```
composer require inmanturbo/path-router
```

```
php artisan vendor:publish --tag="path-router-config"
```

This is the contents of the published config file:

```
return [
    'active' => env('PATH_ROUTER_ACTIVE', true),
    'routes' => [
        [
            'route_prefix' => 'view',
            'active' => env('PATH_ROUTER_ACTIVE', true),
            'root_dir' => 'www',
            'middleware' => [
                // 'web',
                // 'auth',
            ],
            'headers' => [

                'pdf' => [
                    'Content-Type' => 'application/pdf',
                ],
            ],
            'handler' => new \Inmanturbo\PathRouter\Handlers\PathBasedViewResponseHandler,
        ],
    ],
];
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [inmanturbo](https://github.com/inmanturbo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.2% 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 ~55 days

Total

4

Last Release

892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0261babef618b8fb3bfcea84376ed5e71e7169586eb8de63a6550c2e7ea653a6?d=identicon)[inmanturbo](/maintainers/inmanturbo)

---

Top Contributors

[![inmanturbo](https://avatars.githubusercontent.com/u/47095624?v=4)](https://github.com/inmanturbo "inmanturbo (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelinmanturbopath-router

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/inmanturbo-path-router/health.svg)

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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