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 »

Laravel: CRUD Breadcrumb

Assalamualaikum & Hi, Today, I just want to share a little tip on managing your breadcrumb when using Laravel Breadcrumbs. It is common to have following breadcrumb setup: Main Menu > Module Main Menu > Module > Create Main Menu > Module > Edit Main Menu > Module > Details And it is kind of… Read More »

Oracle: Installing PHP7.2 Oracle OCI on MacOSX

Assalamualaikum, Just a little bit of sharing on how to install PHP7.2 Oracle OCI on MacOSX. Original gist by gido, But I have update with latest PHP7.2. Nothing much changed, except on handling some error / misconfigure (probably due to my machine got a little weird setup previously). Anyway, here the gist for the setup.

Laravel: Display Progress Bar in Seeder

Assalamualaikum / Hi, Recent projects development require me to have numbers of seeders – this include some dummy data. Each time seeding new / old data, it’s kinda boring to wait it’s done. So I just need to know, how much the progress of the seeding. Following is the trait I’ve created to generate the… Read More »