Last active
September 25, 2022 05:15
-
-
Save nasrulhazim/422b863bd348dadeb240ca29470ec7e3 to your computer and use it in GitHub Desktop.
Organise Laravel Routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
collect( | |
glob(base_path('/routes/web/*.php')) | |
)->each(function ($path) { | |
require $path; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment