Author: The Odd Developer

Laravel PHP

Laravel Unit Test Exceptions

Let’s see how to unit test Exceptions in Laravel with PHPUnit. For that, I’m going to create a hypothetical scenario where there is a student class greets to new student, and it accepts 2 arguments. The first argument is a greeting such as “Hi”, “Hello”, and “Welcome”. And the second argument is the first name […]

News

What is CrowdStrike, and why are Windows PCs worldwide showing a blue screen? (The simplest answer in 3 lines!)

Crowdstrike is a cybersecurity service, and it mostly protects endpoints. Furthermore, it protects large firms just like you run an anti-virus software to protect your computer. The “CSAgent.exe” and “CSAgent.sys” files in the latest update of their Falcon Sensor installer create a boot loop in Windows, which means that the “CSAgent.sys” driver does not boot […]

Laravel

Laravel Wildcard Routes & Fallback Routes

Laravel routes can be categorized into several types. The wildcard routes and fallback routes are quite popular among them. So, let’s explore when to use them. Spoiler Alert Please note that there’s a YouTube version of this article as well. LINK – https://www.youtube.com/watch?v=5n1MqSEE7vU Wildcard routes As the word “wildcard” emphasizes it can have any value. […]

Issue Fixes

How to fix Laravel 10 + Inertia + ReactJS getting 404 error page on browser refresh

Inertia with Laravel is quite popular these days. Therefore, I also tried to setup a fresh Laravel 10 installation + Inertia along with ReactJS. Everything went well until I tried to refresh the page with browser refresh rather click on the links on the page. I got this 404 page. Root cause for the Laravel Inertia Issue During […]

Back To Top