PHPackages                             n7olkachev/laravel-route-helpers - 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. n7olkachev/laravel-route-helpers

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

n7olkachev/laravel-route-helpers
================================

Rails-like route helpers for your Laravel application

v1.0.0(7y ago)213MITPHP

Since Aug 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/n7olkachev/laravel-route-helpers)[ Packagist](https://packagist.org/packages/n7olkachev/laravel-route-helpers)[ Docs](https://github.com/n7olkachev/laravel-route-helpers)[ RSS](/packages/n7olkachev-laravel-route-helpers/feed)WikiDiscussions master Synced yesterday

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

Laravel Route Helpers [![Build Status](https://camo.githubusercontent.com/1d5a85e796ea68a18ddf9da09989bd8b89c7872c1f72454e69f4a49e75b0ee33/68747470733a2f2f7472617669732d63692e6f72672f6e376f6c6b61636865762f6c61726176656c2d726f7574652d68656c706572732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/n7olkachev/laravel-route-helpers)
=====================================================================================================================================================================================================================================================================================================================================================

[](#laravel-route-helpers-)

Rails like route helpers for your Laravel application.

Why?
----

[](#why)

Fully autocompletable routes. Less typing, less errors.

Examples
--------

[](#examples)

```
// routes.php

\Route::group(['prefix' => '/admin', 'as' => 'admin.'], function () {
    \Route::get('/')->name('home');
    \Route::group(['prefix' => '/users', 'as' => 'users.'], function () {
        \Route::get('/{user}')->name('show');
    });
});
```

This package will generate special helpers for you, so you can generate urls like:

```
admin_home_url();
admin_users_show_url(['user' => $user->id]);
```

It's totally IDE friendly, so after typing `admin_` you'll see both helpers as suggestions!

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

[](#installation)

You can install the package via composer:

```
composer require n7olkachev/laravel-route-helpers
```

To create helpers run:

```
php artisan route:helpers
```

Then you just need to add generated file to composer autoload section, like so:

```
// composer.json
...
"autoload": {
    "files": [
        "storage/route-helpers/cache.php"
    ],
}
...
```

The path of generated file can be changed via config.

Testing
-------

[](#testing)

```
$ composer test
```

Credits
-------

[](#credits)

- [Nikita Tolkachev](https://github.com/n7olkachev)

Sponsored by
------------

[](#sponsored-by)

Web agency based in Minsk, Belarus

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Unknown

Total

1

Last Release

2836d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelrouteshelpers

### Embed Badge

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

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

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[ronasit/laravel-helpers

Provided helpers function and some helper class.

1475.7k13](/packages/ronasit-laravel-helpers)

PHPackages © 2026

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