The new findOr method in Laravel 9.x
A minor release for Laravel 9.x dropped a few days ago and among lots of new features and improvements, this release has introduced a new method called findOr in the Eloquent Builder and Relations.
Implement a custom driver for Laravel Socialite
Laravel Socialite is an official Laravel package to authenticate with OAuth providers. It supports authentication with Facebook, Twitter, LinkedIn, Google, GitHub, and Bitbucket. But, what if you want to use a different driver?
Carbon PHP Practical Examples
I've been working and experimenting a lot lately with Carbon, the sublime PHP date and time utility library. I've tweeted a lot of Carbon tips and decided to collect all these tips into a permanent article.
The Laravel Ecosystem
Hopefully, if you're new to Laravel, this will give you a brief understanding of the first-party ecosystem so that you can decide when to use one package over another.