I just self-verified my blog
November 14, 2022 — Twitter’s Blue tick verification is all the rage these days. By getting verified on Twitter, you can get a blue tick next to your name which makes you look more authentic and trustworthy.
File validation rule object in Laravel 9.x
November 12, 2022 — Validating things plays a crucial role in any web application. In Laravel, you can validate the incoming request data using the validate()
method. This method accepts an array of validation rules as its first argument. These rules are used to validate the incoming request data.
Rendering specific fragment of a blade view in Laravel 9.x
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.
Generating slugs using one line of code in JavaScript
November 8, 2022 — Slugs are the part of a URL that identifies a particular page on a website. For example, in the URL https://www.google.com/search?q=javascript
, the slug is search
. It is also known as the URL segment or the permalink.
Expose local directories to network devices in Node.js
November 4, 2022 — Many times, you might stumble upon a situation where you need to expose your local directories to all the network devices.
Human-readable date difference in JavaScript
November 1, 2022 — In this article, we will learn how to get the human-readable date difference in JavaScript. We will see how to get the difference between two dates in years, months, days, hours, minutes, and seconds.
Why send User-Agent while making API calls?
October 31, 2022 — While making API calls, we send different sorts of headers like Content-Type
, Accept
, 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.
Resolving middlewares statically from controllers in Laravel 9.x
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.
The new alternative mailable syntax in Laravel 9.x
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.
Awesome Sponsors
Download my eBook
Recommendation(s)
Newsletter
SubscribeFollow me everywhere