Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

tadodotcom/lyrc

Repository files navigation

Lyrc - Laravel YAML Routes Compiler

Made with ❤️ by tado°

Installation Steps

  1. Require the Package

After creating your new Laravel application you can include the Lyrc package with the following commands:

composer require tadodotcom/lyrc
php artisan vendor:publish --provider="Tado\Lyrc\LyrcServiceProvider"
  1. Add the Tado\Lyrc\LyrcServiceProvider::class to config/app.php file in providers list

  2. Set your configurations in the file config/lyrc.php

Generate routes from YAML file and using the generated file

  1. After setting up your YAML file path in config/lyrc and the path for the compiled file, run command php artisan tado:lyrc.

  2. On your routes file require 'path/to/compiled_routes.php';

And enjoy the simplicity of managing multi locale, big route files in your YAML files

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages