Laravel API Resources with Relations: Methods to Avoid N+1 Query
Laravel has API Resources but, loaded with relationships, they may cause performance issues. There are conditional methods to help you avoid it.
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
Laravel has API Resources but, loaded with relationships, they may cause performance issues. There are conditional methods to help you avoid it.
After watching the Laracon US live stream on YouTubelast night, I compiled a "quick overview" of 4 BIG things Taylor Otwell introduced on stage.
Service Providers have been the core functionality of Laravel since the beginning. However, in Laravel 11, the list of providers changed, with only `AppServiceProvider` left. So, what do developers need to know now?
We recently noticed a performance issue with Laravel Daily website: the list of courses was loading too slowly. So, this article will be a story of how we fixed the N+1 query problem.
There are two ways to identify a key in Laravel: string 'My profile' or array key 'users.my_profile'. Let me tell my opinion on which one is a better choice.
Clean code is something all devs aim for, right? But what does it ACTUALLY mean? In this tutorial, I will list 6 practical tips for Laravel to write clean code.
One of the less-known PHP functions is filter_var(), which checks for string patterns like email/URL/IP address and more. In this post, let's look at five practical examples from open-source projects.
The try-catch PHP operator is very old, and we all know its syntax. But the confusing part is WHEN to use it. In what cases? In this tutorial, I will show practical examples to explain the answer.
The start of a SaaS application can be challenging, but some Laravel tools/packages help you with that. In this article, I will show you 9 of them.
Laravel is huge in popularity, but are there any real BIG companies using it? Or any really LARGE projects? In this article, we will take look at 10 large open-source projects on GitHub, created with Laravel.