PHPackages                             haikara/file-base-route - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. haikara/file-base-route

ActiveLibrary[File &amp; Storage](/categories/file-storage)

haikara/file-base-route
=======================

0.2.0(1y ago)013PHPPHP &gt;=8.1 &lt;8.4.0

Since Aug 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/HaikaraSakura/file-base-route)[ Packagist](https://packagist.org/packages/haikara/file-base-route)[ RSS](/packages/haikara-file-base-route/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

file-base-route
===============

[](#file-base-route)

```
// Routerにルーティングファイルの設置場所を渡してインスタンス化
$router = new Router('./routes');

// サブディレクトリ運用の場合はプレフィックスとなるパスを渡す
$router->setBasePath('/sub');

$router->setActionInvoker(
    fn (Closure $action) => $container->call($action)
);

$response = $router->handle($request);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Every ~3 days

Total

3

Last Release

688d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2d62cb7d653d3982799fb210ad6d95b2d49ed74bfe137a335ff3793bdf164e6?d=identicon)[HaikaraSakura](/maintainers/HaikaraSakura)

---

Top Contributors

[![HaikaraSakura](https://avatars.githubusercontent.com/u/87011031?v=4)](https://github.com/HaikaraSakura "HaikaraSakura (5 commits)")[![t-mori-haikara](https://avatars.githubusercontent.com/u/87011031?v=4)](https://github.com/t-mori-haikara "t-mori-haikara (5 commits)")

### Embed Badge

![Health badge](/badges/haikara-file-base-route/health.svg)

```
[![Health](https://phpackages.com/badges/haikara-file-base-route/health.svg)](https://phpackages.com/packages/haikara-file-base-route)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[bref/bref

Bref is a framework to write and deploy serverless PHP applications on AWS Lambda.

3.4k10.6M67](/packages/bref-bref)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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