Download the PHP package kirschbaum-development/laravel-route-file-macro without Composer
On this page you can find all versions of the php package kirschbaum-development/laravel-route-file-macro. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kirschbaum-development/laravel-route-file-macro
More information about kirschbaum-development/laravel-route-file-macro
Files in kirschbaum-development/laravel-route-file-macro
Package laravel-route-file-macro
Short Description Route macro that easily loads a route file without unnecessary method calls.
License MIT
Homepage https://github.com/kirschbaum-development/laravel-route-file-macro
Informations about the package laravel-route-file-macro
Laravel Route File Macro
This package allows you to load a routes file directly from the Laravel Router
.
Requirements
This package requires Laravel 5.7 or higher.
Due to Laravel 7's PHP version requirement, if you need support for PHP 7.1, please use version 0.2 of the package.
Installation
You can install this macro via composer:
Usage
Single Item
Route::file
accepts a single file path or SplFileInfo
object and cannot be used with multiple paths or file objects.
Multiple Items
Route::files
accepts an array of file paths or an array of SplFileInfo
objects and cannot be used with a single path or file object.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] or [email protected] instead of using the issue tracker.
Credits
Sponsorship
Development of this package is sponsored by Kirschbaum Development Group, a developer driven company focused on problem solving, team building, and community. Learn more about us or join us!
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-route-file-macro with dependencies
illuminate/routing Version ^5.7|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^5.7|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0