PHPackages                             adriandev374/autoload-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. [Framework](/categories/framework)
4. /
5. adriandev374/autoload-routes

ActiveLibrary[Framework](/categories/framework)

adriandev374/autoload-routes
============================

Automatic loading of route files in Laravel for multiple groups of middlewares

1.0.2(3y ago)012MITPHP

Since Dec 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/AdrianDev374/autoload-routes)[ Packagist](https://packagist.org/packages/adriandev374/autoload-routes)[ RSS](/packages/adriandev374-autoload-routes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Autoload Routes
===============

[](#autoload-routes)

Laravel package to load route files automatically. You can specify several directories where the package will look for all the files and include them for you. It is useful when you want to separate your application by modules, and you want to have the routes organized by files. It will help you increase productivity and not waste time manually adding the files to the route provider, as this package will do it for you.

How to use
----------

[](#how-to-use)

The first thing is to install the package from the composer dependency manager

> composer require adriandev374/autoload-routes

Route files loaded by default. All files found within these directories will be automatically loaded into their respective middleware groups.

IMPORTANT, the lines are commented since the directories do not exist. You must publish the configuration file and modify it according to your needs

Group Middleware WEBGroup Middleware APIsrc/autoload/websrc/autoload/apiOf course this is configurable, you can publish the configuration file and make it more flexible.

> php artisan vendor:publish --tag=autoload-routes

Save time having to manually load these route files.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1252d ago

### Community

Maintainers

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

---

Tags

autoloadlaravelroutes

### Embed Badge

![Health badge](/badges/adriandev374-autoload-routes/health.svg)

```
[![Health](https://phpackages.com/badges/adriandev374-autoload-routes/health.svg)](https://phpackages.com/packages/adriandev374-autoload-routes)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)

PHPackages © 2026

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