How to Get Current URL Inside Blade Templates
In this article, we will discuss how to get the current URL inside Blade templates. We can use the request() global helper function… Read More »How to Get Current URL Inside Blade Templates
Second most tallest chap in the neighbourhood. Sometimes my sense of humor causes abdominal pain. I am not yet famous for something.
In this article, we will discuss how to get the current URL inside Blade templates. We can use the request() global helper function… Read More »How to Get Current URL Inside Blade Templates
Let’s look at how to generate Lorem Ipsum text in VS Code in a quick and simple way. Generate Lorem Ipsum We’re going… Read More »Generate Lorem Ipsum Text in VS Code
Let’s look at two VS Code features that will help you focus better on writing code. Full Screen You can toggle it by… Read More »Toggle Full Screen & Zen Mode in VS Code
Let’s quickly look at how we can set variables in Blade templates. Here we have some simple HTML where we output the name John Doe.… Read More »How to Set Variables in Blade Templates
Let’s quickly look at how we can use the ternary operator in Blade templates. Here we have a simple good old if/else statement. If the… Read More »How to Use Ternary Operator in Blade Templates
Let’s look at how we can check if a route exists in a Laravel project. We’re going to use the has() method from the… Read More »Check If Route Exists in Laravel
Today I would like to share with you the Code Runner extension. Code Runner allows you to run code snippets or files inside VS Code… Read More »Run Code Snippets or Files Inside VS Code
Sometimes, it becomes difficult to read numbers that contain many digits. For example, 1000 is readable but what about 1000000? Yeap, it becomes pretty tricky… Read More »Use Numeric Separators to Easily Read Big Numbers
Let’s imagine the following scenario. You’re working on a monolith or a macroservice project. And a mobile app developer comes to you and says: –… Read More »Find Route Definitions By API Paths In Seconds
Let’s look at 3 simple methods to check if debug mode is enabled in a Laravel project. Check .env file Let’s start with… Read More »3 Methods to Check If Debug Mode Is Enabled in Laravel