Tag Archives: collection

Laravel: Organising Your Route Files

Assalamualaikum / Hi, Have you ever having hundred or probably thousand line of codes in a single routes/web.php ? So, my solution is quite simple. First thing, let’s look at this code snippet: So, it’s quite straightforward - the code above will simply require all files in the routes/web directory. Means that, you can have infinite number of… Read More »