Login with Username or Email with Laravel 10: Enhanced User Authentication

Introduction: Welcome back to my blog series on user authentication with Laravel! In my previous articles, we have covered the topic of login with username or email in different versions of Laravel. Today, I'm excited to bring you an updated approach specifically for Laravel 10. This...
Read more...

Easily Switch PHP versions on Linux with Script

If you are looking for best way to switch multiple PHP versions on your machine, you're at the right place to get the best solution for your requirement. Let's say on your working computer you have installed multiple PHP versions (for eg: PHP 7.0 and PHP 7.2). As a default version, t...
Read more...

Eloquent: Query Builder Compare Two Date Columns

I regularly share my knowledge about Laravel, Web Development tips, and tutorials via my blog. Now, here in this article, I am going to cover about comparing two different timestamp columns to filter out records from the database. Recently I was working on filtering some API ac...
Read more...

Set your Preferred Domain on Laravel Application

In this blog post, I would like to show how to set preferred domain from your application context. Before diving into the code, let's understand why the preferred domain is much important for SEO, web pages indexing on Search Engine. Follow the link to read in detail from Google sup...
Read more...
download.png

An alternative way for PHP array_column

As a developer i'm pretty much sure, most of the developers use latest version of PHP in their machine, so do I.  The thing is, sometime with version of PHP on hosting servers, we have to think about the alternative way. Here with this post I am going to share a pro tip fo...
Read more...