Recent Articles

#performance #scaling

Does Laravel Scale?

The internet is full of lies about whether Laravel can scale. Here's the truth.

Read full article []

#jobs #command bus

Laravel Command Bus

In Laravel 5.1 the Command Bus was replaced with Dispatchable Jobs, we can still use them but let us also look at how to add a Command Bus.

Read full article []

#roles #permissions

A Complete Guide To Managing User Permissions In Laravel Apps

You are authorized to access this article! Learn how to secure your Laravel application with simple roles and permissions.

Read full article []

20 Useful Laravel Tips

Read 20 useful tips that you can use in your Laravel projects. These tips have been built using my best-performing tweets on Twitter and cover databases, standards, testing, Artisan commands, and much more.

Read full article []

#eloquent #relationships

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.

Read full article []

#authentication #oauth

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?

Read full article []

#data integrity #concurrency

Handling Concurrency attacks in laravel

Many companies have suffered due to such attacks and in this post, we would see how Laravel solves this problem without a developer breaking a sweat!

Read full article []

#carbon #dates

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.

Read full article []