PHPackages                             coffeebreaks/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. coffeebreaks/route

ActiveLibrary

coffeebreaks/route
==================

A simple class for friendly url

V1.0.5(5y ago)042MITPHPPHP &gt;=7.1

Since Jul 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Guilherme-fagundes/route)[ Packagist](https://packagist.org/packages/coffeebreaks/route)[ RSS](/packages/coffeebreaks-route/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

### Route

[](#route)

A simple class for friendly url

#### Instalation

[](#instalation)

```
composer require coffeebreaks/route
```

#### Config.php

[](#configphp)

```
define('HOME', ""); // Base URI
define('THEME', ''); // Your theme
define('INCLUDE_PATH', 'themes'.DIRECTORY_SEPARATOR.THEME);
```

### .htaccess

[](#htaccess)

```
RewriteEngine On

Options All -indexes

RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~6 days

Total

6

Last Release

2105d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca237ea3fe636e6f5131c4d01aaffb406518ddf35c2707184603e3c114c14d70?d=identicon)[Guilherme Fagundes](/maintainers/Guilherme%20Fagundes)

---

Tags

routerroutefriendly url

### Embed Badge

![Health badge](/badges/coffeebreaks-route/health.svg)

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

###  Alternatives

[league/route

Fast routing and dispatch component including PSR-15 middleware, built on top of FastRoute.

6633.1M115](/packages/league-route)[aura/router

Powerful, flexible web routing for PSR-7 requests.

5231.5M67](/packages/aura-router)[pecee/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

696214.6k17](/packages/pecee-simple-router)[coffeecode/router

A classic CoffeeCode Router is easy, fast and extremely uncomplicated. Create and manage your routes in minutes!

181111.1k5](/packages/coffeecode-router)[izniburak/laravel-auto-routes

Auto Route Generating (Auto-Discovery) Package for Laravel

23645.3k](/packages/izniburak-laravel-auto-routes)[pmjones/auto-route

Automatically routes HTTP request to action classes.

20158.6k6](/packages/pmjones-auto-route)

PHPackages © 2026

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