November 10, 2022 — Blade views are the most common way to render HTML in Laravel. But, what if you want to render a specific fragment of a blade view? For instance, you want to render a specific section of a blade view. Or, you want to render a specific component of a blade view.
November 8, 2022 — Slugs are the part of a URL that identifies a particular page on a website. For example, in the URL
search. It is also known as the URL segment or the permalink.
November 4, 2022 — Many times, you might stumble upon a situation where you need to expose your local directories to all the network devices.
October 31, 2022 — While making API calls, we send different sorts of headers like
Authorization, etc. But, have you ever wondered why we send the
User-Agent header? In this article, I’ll talk about why we send the
User-Agent header while making API calls.
October 29, 2022 — In Laravel, it’s possible to resolve middleware from controllers. For example, you can resolve a middleware from the controller’s constructor like so.
October 24, 2022 — The latest version of Laravel 9.x has just been released and it comes with a lot of new features and improvements. In this article, I’ll talk about one of the new features in Laravel 9.x which is the new alternative mailable syntax.
October 18, 2022 — The latest and greatest version of PHP, PHP 8.2 is going to be released soon and it’s going to bring a lot of new features and improvements. In this post, I’ll talk about one of the new features in PHP 8.2 which is the
October 11, 2022 — Here’s a little tip that I learned recently. It’s about destructuring an object and aliasing the destructured variables. I’ll show you how it works with an example.
October 9, 2022 — Today, if we want to validate a JSON string in PHP, we can use the
json_decode() function. Here’s how it works.
Download my eBook
(Includes PHP 8.1, 8.2, and 8.3)
Follow me everywhere