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

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

zepfietje/laravel-route
=======================

Custom Laravel Route class which adds some convenient behavior.

2.1.0(5y ago)5210MITPHPPHP ^7.4|^8.0

Since Aug 13Pushed 5y agoCompare

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

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

[![Packagist Version](https://camo.githubusercontent.com/a3323e7e6776958c87439b4929ea527d5ef3c33a2b669fc1a5249f335b80384d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6570666965746a652f6c61726176656c2d726f757465)](https://packagist.org/packages/zepfietje/laravel-route)[![Packagist Downloads](https://camo.githubusercontent.com/4f54434ec512ee7d77c42426ad0b0ce7fc9c5b30019d2533470c50e9abca3506/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6570666965746a652f6c61726176656c2d726f757465)](https://packagist.org/packages/zepfietje/laravel-route/stats)[![Starware](https://camo.githubusercontent.com/df9148bb5ff86fc611de42adbb1b60bfc1934ca7e3afcf87fd4dc9f6b3d95ef7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2545322541442539302d53746172776172652d6635613931613f6c6162656c436f6c6f723d626c61636b)](https://github.com/zepfietje/starware)

Laravel Route
=============

[](#laravel-route)

This package extends the default Laravel `Route` class and adds some convenient behavior.

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

[](#installation)

1. Install this package. ```
    $ composer require zepfietje/laravel-route
    ```
2. Import the `Route` class of this package in your routes file instead of the default one. ```
    - use Illuminate\Support\Facades\Route;
    + use ZepFietje\Route\Route;
    ```

Usage
-----

[](#usage)

### `view()`

[](#view)

All bound parameters are automatically passed to the view.
To make this work with route model binding, be sure to [register an explicit binding](https://laravel.com/docs/master/routing#explicit-binding).

Before:

```
Route::get('users/{user}', function (User $user) {
    return view('users.show', ['user' => $user]);
});
```

After:

```
Route::view('users/{user}', 'users.show');
```

Starware
--------

[](#starware)

Laravel Route is Starware.
This means you're free to use the project, as long as you star its GitHub repository.
Your appreciation makes us grow and glow up. ⭐

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~36 days

Total

4

Last Release

1992d ago

Major Versions

1.0.1 → 2.0.02020-09-08

PHP version history (2 changes)1.0.0PHP ^7.4

2.1.0PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![zepfietje](https://avatars.githubusercontent.com/u/44533235?v=4)](https://github.com/zepfietje "zepfietje (5 commits)")

---

Tags

laravelphproutelaravelroute

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[fragkp/laravel-route-breadcrumb

7011.7k](/packages/fragkp-laravel-route-breadcrumb)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)[amendozaaguiar/filament-route-statistics

Filament route statictics viewer

3225.0k1](/packages/amendozaaguiar-filament-route-statistics)

PHPackages © 2026

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