PHPackages                             adrosoftware/lmrp-loader - 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. adrosoftware/lmrp-loader

ActiveLibrary

adrosoftware/lmrp-loader
========================

Laminas Mezzio helper class to load routes files and pipelines.

v1.1.0(4y ago)117MITPHPPHP ^7.0

Since Mar 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/adrosoftware/lmrp-loader)[ Packagist](https://packagist.org/packages/adrosoftware/lmrp-loader)[ Docs](http://github.com/adrosoftware/lmrp-loader)[ RSS](/packages/adrosoftware-lmrp-loader/feed)WikiDiscussions master Synced 1mo ago

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

Laminas Mezzio Routes and Pipeline Loader
=========================================

[](#laminas-mezzio-routes-and-pipeline-loader)

[![Build status](https://camo.githubusercontent.com/815c085559218dffdc6d0f67727cfa2c099b37c9263cc1fa357688ef03803f96/68747470733a2f2f7472617669732d63692e6f72672f6164726f736f6674776172652f6c6d72702d6c6f616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/adrosoftware/lmrp-loader/)[![Coverage Status](https://camo.githubusercontent.com/c6bcdf5b21d9ce54ea7e40c0a0e4990dff05b1a710b8ffa8c9037bb0f9fbbce2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6164726f736f6674776172652f6c6d72702d6c6f616465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/adrosoftware/lmrp-loader)[![Latest Stable Version](https://camo.githubusercontent.com/b0f2254d7facc6b9b76e64d61ec30211ba0e2836f44969cfe644e662d9016a78/68747470733a2f2f706f7365722e707567782e6f72672f6164726f736f6674776172652f6c6d72702d6c6f616465722f762f737461626c65)](https://packagist.org/packages/adrosoftware/lmrp-loader)[![License](https://camo.githubusercontent.com/caf1c729a4296bab2b4a9d04b7650d03a0076578e49d4f6e5378f0a0599047fd/68747470733a2f2f706f7365722e707567782e6f72672f6164726f736f6674776172652f6c6d72702d6c6f616465722f6c6963656e7365)](https://packagist.org/packages/adrosoftware/lmrp-loader)

Purpose
-------

[](#purpose)

When building a medium to large applications on Laminas Mezzio is better if you can organize your routes. By default *mezzio* define all the routes in the `routes.php` file under the `config` directory. For me is better if you can at least organize the routes by modules of routes prefix. For example `routes.web.php` for all the web routes and `routes.api.php` for all the api routes.

Usage
-----

[](#usage)

```
$ composer require adrosoftware/lmrp-loader
```

The `public/index.php` file by default look like this:

```
