PHPackages                             hiraeth/journey - 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. hiraeth/journey

ActiveOpus-package

hiraeth/journey
===============

Journey for the Hiraeth Nano-Framework

1.0.0(2y ago)0913MITPHP

Since Mar 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hiraeth-php/journey)[ Packagist](https://packagist.org/packages/hiraeth/journey)[ RSS](/packages/hiraeth-journey/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

[Journey](https://github.com/dotink/journey) is a wrapper and set of extensions for the well known [FastRoute](https://github.com/nikic/fastroute). It provides thin wrapper which extends FastRoute's native abilities by adding an entry point for dependency resolution, parameter matching shorthands, transformers, and link generation.

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

[](#installation)

```
composer require hireath/journey
```

The `journey.jin` configuration will be automatically copied to your `config` directory via [opus](https://github.com/imarc/opus).

Delegates
---------

[](#delegates)

No delegates are included in this package.

Providers
---------

[](#providers)

No providers are included in this package.

Configuration
-------------

[](#configuration)

```
[journey]

group = ""

routes = {
	"/": "Hiraeth\\Journey\\WelcomeAction"
}

patterns = {
	"!": ".+",
	"#": "\\d+",
	"+": "[1-9][0-9]*",
	"c": "[a-z\\x7f-\\xff][a-z0-9\\x7f-\\xff]*",
	"m": "[a-z\\x7f-\\xff][a-z0-9\\x7f-\\xff]*"
}

transformers = {
	"!": "Hiraeth\\Journey\\StringTransformer"
}
```

KeyData TypeDescriptiongroup*string*A prefix which will be appended to all routes in the section.routes*object*A { key : value } list of routes to controller/actions.patterns*object*A { key : value } list of parameter symbols to their regex patterns.transformers*object*A { key : value } list of parameter symbols to their transformer classes.The `[journey]` section is globally recognized, so it can be added to any configuration file in the system to add additional routes, patterns, or transformers. Each `[journey]` section is understood as it's own distinct group so all routes within that section will be prefixed by the `group` setting, however, at a global level all patterns, transformers, and routes are added to the same instance, so conflicts are possible.

usage
-----

[](#usage)

The `hiraeth/jouney` package provides middleware as its primary point of integration:

MiddlewareWorks WithHiraeth\\Journey\\RelayMiddlewarehiraeth/relay

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

790d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ab2b91daf2aa6e4c7f98f785a3135daa3e9998bd7021d89df05a374e28ecde5?d=identicon)[mattsah](/maintainers/mattsah)

---

Top Contributors

[![mattsah](https://avatars.githubusercontent.com/u/586346?v=4)](https://github.com/mattsah "mattsah (6 commits)")

### Embed Badge

![Health badge](/badges/hiraeth-journey/health.svg)

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

###  Alternatives

[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

538204.9M23](/packages/league-uri-interfaces)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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