PHPackages                             zoran-wang/laravel-route-manager - 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. zoran-wang/laravel-route-manager

ActiveLibrary

zoran-wang/laravel-route-manager
================================

Use A manager to manage all routes for laravel/lumen

16PHP

Since Jun 26Pushed 6y agoCompare

[ Source](https://github.com/ZoranWong/laravel-route-manager)[ Packagist](https://packagist.org/packages/zoran-wang/laravel-route-manager)[ RSS](/packages/zoran-wang-laravel-route-manager/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

lara-routes-manager
===================

[](#lara-routes-manager)

lara-routes-manager is designed to make laravel framework works by a easy way to manage and create it's router system.All of your application routes which will implement the RouteGenerator's auth and normal abstract methods to be organized. The auth method is used to organize routes which need authenticate, and the normal method organize routes which not need authenticate. Example:

```
    use ZoranWang\LaraRoutesManager\RouteGenerator;
    class WebRouteGenerator extends RouteGenerator
     {
        protected function auth($router)
        {
            $router->get('/user', ['as' => 'index', 'uses' => 'IndexController@user']);
        }

        protected function normal($router)
        {
            $router->get('/', ['as' => 'index', 'uses' => 'IndexController@index']);
        }
    }
```

- Config of lara-routes-manager

    - root

        The directory of the route's files
    - namespace

        The namespace of route generator class we create
    - domains

        Domain's config array

        - domain

            Domain name
        - request

            Request alias we used in this package
        - router

            Router alias we used in this package
        - providers

            Providers to be used under this domain when the application run
        - middleware

            Middleware to be used under this domain when the application run
        - auth

            The default auth guard to be used under this domain if we do not config in gateway and route config
        - gateways

            The gateway conception is a alias of prefix for laravel router's prefix. Gateways is a array which group routes by prefix.

            - gateway

                The prefix of laravel route
            - providers

                Providers to be used under this gateway when the application run
            - middleware

                Middleware to be used under this domain when the application run
            - auth

                This auth guard will cover the auth which config in domain
            - routes

                - generator

                    This is a class name which route's rules generate in.
                - providers

                    Providers to be used under this Route when the application run
                - middleware

                    Middleware to be used under this Route when the application run
                - auth

                    This auth guard will cover the auth which config in gateway config
                - version
                - namespace

                    The namespace of controllers.
- Command of lara-routes-manager

```
      // router the namespace of router to be used .
      php artisan route-generator:create {name} {--router}

```

You can use this package like that, it so easy!

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c7f411a5d16dd3c1a3786c6cfb286c43d84aeed9b851dde3b736c1dbd7fc17f?d=identicon)[ZoranWong](/maintainers/ZoranWong)

### Embed Badge

![Health badge](/badges/zoran-wang-laravel-route-manager/health.svg)

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

PHPackages © 2026

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