PHPackages                             aee/route-generator - 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. [API Development](/categories/api)
4. /
5. aee/route-generator

ActiveLibrary[API Development](/categories/api)

aee/route-generator
===================

Micro package for larabase to generate automatic routing system.

v0.1.9(1y ago)028MITPHP

Since Apr 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alpemreelmas/aee-route-generator)[ Packagist](https://packagist.org/packages/aee/route-generator)[ RSS](/packages/aee-route-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (11)Used By (0)

Route Generator
===============

[](#route-generator)

This is developed for [larabase](https://github.com/alpemreelmas/larabase). This package is one of core packages of larabase which is responsible for creating dynamic routes for modules with a single file.

### ⚠️ Warnings

[](#️-warnings)

- Every module should have route\_generator.php

Usage/Examples
--------------

[](#usageexamples)

In below, you'll see some commands and usage example of the package. First step create a route\_generator.php file at the root of the module folder. Route\_generator.php file should contains your route information which you would like show users. You should determine title, permission, data-feather-icon, routes as a required properties.

Nested Route
------------

[](#nested-route)

There are two types of route that we support for now. One of them is nested route which is collapsable. As you can see there is a permission under the title, I will be referring it as a global permission. Under the routes key, you can see two type of usage One of them is an array format to determine title, route and permission. In this case title and route are required but permission is optional property Another one is just route using url or route (you can also use laravel helper functions)

```
