PHPackages                             sdavis1902/laravel-controller-routes - 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. sdavis1902/laravel-controller-routes

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

sdavis1902/laravel-controller-routes
====================================

In Laravel 5.3 Route::controller was removed. This package replaces that functionality if you still want to use it.

2.0.4(8y ago)33.8k↓50%1MITPHPPHP ~5.6|~7.0

Since Feb 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sdavis1902/laravel-controller-routes)[ Packagist](https://packagist.org/packages/sdavis1902/laravel-controller-routes)[ Docs](https://github.com/sdavis1902/laravelcontrollerroutes)[ RSS](/packages/sdavis1902-laravel-controller-routes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

laravel-controller-routes
=========================

[](#laravel-controller-routes)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/dc02cdda7542b17c389f91c2d1aafcb2fc8758a446ef82b24fed55bb5a867267/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736461766973313930322f6c61726176656c2d636f6e74726f6c6c65722d726f757465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sdavis1902/laravel-controller-routes)

As of Laravel 5.3, Route::controller was removed. This provides the same functionality.

Install
-------

[](#install)

Via Composer

```
$ composer require sdavis1902/laravel-controller-routes
```

Once installed add the service provider and alias ( not required for 5.5 )

```
'providers' => [
    ...
    sdavis1902\LaravelControllerRoutes\LaravelControllerRoutesServiceProvider::class,
],
```

```
'aliases' => [
    ...
	'MoreRoute' => sdavis1902\LaravelControllerRoutes\Facades\MoreRoute::class,
],
```

Usage
-----

[](#usage)

In your routes file

```
MoreRoute::controller('/test', 'TestController');
```

Your Controller

```
class TestController extends Controller {
    public function getFrank(){
        return 'woo';
    }
}
```

You can now go to yourdomain.comm/test/frank and it should say "woo"

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Credits
-------

[](#credits)

- [Scott Davis](https://github.com/sdavis1902)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

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

Every ~42 days

Recently: every ~11 days

Total

6

Last Release

3176d ago

Major Versions

1.0.0 → 2.0.02017-07-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/556a02644ea903c2997a4249eddba15e8139928daaa5fc1ba33f32ffc9243e57?d=identicon)[sdavis1902](/maintainers/sdavis1902)

---

Top Contributors

[![sdavis1902](https://avatars.githubusercontent.com/u/9748546?v=4)](https://github.com/sdavis1902 "sdavis1902 (17 commits)")

---

Tags

sdavis1902LaravelControllerRoutes

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sdavis1902-laravel-controller-routes/health.svg)

```
[![Health](https://phpackages.com/badges/sdavis1902-laravel-controller-routes/health.svg)](https://phpackages.com/packages/sdavis1902-laravel-controller-routes)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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