PHPackages                             raphhh/puppy-static-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. [Framework](/categories/framework)
4. /
5. raphhh/puppy-static-route

ActiveLibrary[Framework](/categories/framework)

raphhh/puppy-static-route
=========================

Static routing module for Puppy framework

1.0.0(11y ago)01251MITPHPPHP &gt;=5.4

Since Apr 11Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Raphhh/puppy-static-route)[ Packagist](https://packagist.org/packages/raphhh/puppy-static-route)[ RSS](/packages/raphhh-puppy-static-route/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (1)

Puppy static routing module
===========================

[](#puppy-static-routing-module)

[![Latest Stable Version](https://camo.githubusercontent.com/4cc54786b8faf60434a210bce694786fbe831116d1e8dd899ac0e085f7d2fcd2/68747470733a2f2f706f7365722e707567782e6f72672f7261706868682f70757070792d7374617469632d726f7574652f762f737461626c652e737667)](https://packagist.org/packages/raphhh/puppy-static-route)[![Build Status](https://camo.githubusercontent.com/c6e195dc0baea11599e909cf4bb5d198095e63e179dfee3694fd611f096e9f36/68747470733a2f2f7472617669732d63692e6f72672f5261706868682f70757070792d7374617469632d726f7574652e706e67)](https://travis-ci.org/Raphhh/puppy-static-route)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/6c2b85208f0f828edd00da825f93b15a8509e06e08e79f4d56d733354bc72633/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5261706868682f70757070792d7374617469632d726f7574652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Raphhh/puppy-static-route/)[![Code Coverage](https://camo.githubusercontent.com/e20f070499506c05851b61486600f43643118e94c9a7053b2a24c63e8ae47f95/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f5261706868682f70757070792d7374617469632d726f7574652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Raphhh/puppy-static-route/)[![Total Downloads](https://camo.githubusercontent.com/5089d4d154089a1f46587d99cf5d5247b9de23ddb476f767928b63bd8e2f45da/68747470733a2f2f706f7365722e707567782e6f72672f7261706868682f70757070792d7374617469632d726f7574652f646f776e6c6f6164732e737667)](https://packagist.org/packages/raphhh/puppy-static-route)[![License](https://camo.githubusercontent.com/5c38f4529dbbbe849e1de1a25e4e3c86d4d7d593cb53abefe3469b0b493eaae5/68747470733a2f2f706f7365722e707567782e6f72672f7261706868682f70757070792d7374617469632d726f7574652f6c6963656e73652e737667)](https://packagist.org/packages/raphhh/puppy-static-route)

Static routing module for Puppy framework.

See [Puppy framework](https://github.com/Raphhh/puppy) for more information.

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

[](#installation)

```
$ composer require raphhh/puppy-static-route

```

Documentation
-------------

[](#documentation)

This module routes an uri to a template file. The router takes the request uri and tries to find an associated template.

Note that the template files must be in the dir "&lt;template.directory.main&gt;/public/".

If the request uri points to a dir and not a file, a default file will be searched. By default: "

/index.html.twig".If no file is found in the templates, it returns an HTTP 404 error.

Config options
--------------

[](#config-options)

- 'template.directory.main' =&gt; path to the directory of the template files.
- 'template.file.default' =&gt; name of the file to search if the address points to a dir. Default: "index".
- 'template.file.server.extension' =&gt; extension of the file to search if the address points to a dir. Default: ".html".
- 'template.file.template.extension' =&gt; name of the template engine added to the file. Default: ".twig".

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

4101d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fd55d984cf31c25f875f5636331a20f8be77e9443f2fd17fbccf1f9c4fe7a4c?d=identicon)[raphhh](/maintainers/raphhh)

---

Top Contributors

[![Raphhh](https://avatars.githubusercontent.com/u/5206490?v=4)](https://github.com/Raphhh "Raphhh (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/raphhh-puppy-static-route/health.svg)

```
[![Health](https://phpackages.com/badges/raphhh-puppy-static-route/health.svg)](https://phpackages.com/packages/raphhh-puppy-static-route)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M298](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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