Support the ongoing development of Laravel.io →
March 11th 2024

How to get your Laravel app from 0 to 9 with Larastan

Finding bugs in your Laravel app before it's even executed is possible, thanks to Larastan, which is...

Read article
January 16th 2023

Laravel Collections: The Artisan's Guide

Introduction Laravel Collections are really powerful for working with arrays of data. They provide a...

Read article
August 8th 2022

Why don't you start writing tests?

See how easy it is to get started with automated testing in Laravel There are hundreds of articles...

Read article
April 4th 2022

The Laravel Ecosystem

Introduction Like with any subject in life, when you first start learning about something, the huge...

Read article

Got some knowledge to share? Share your article with our 50,000+ Twitter followers.

Articles

6 Articles

published on 4 Feb, 2022

How to find the slowest query in your application

Is your website slow? does it take ages to load? Are the users complaining that it's almost unusable...

5 min read

cosmeoes, driesvints, dragonfire1119, umutphp, preeda, geovanek, syofyanzuhad, olayiwolaaa, yvan-burrie, neil and more liked this article

25 Likes
published on 10 Feb, 2022

Filter Eloquent models with multiple optional filters

Often we need to filter eloquent models when displaying to a view. If we have a small number of filt...

7 min read

driesvints, cosmeoes, ovillafuerte94, iamadriandev, arnonm-intel, mathewslima, simonbarrettact, phcostabh, simomrh, elkdev and more liked this article

13 Likes
published on 26 Sep, 2021

Using Database Transactions to Write Safer Laravel Code

Introduction In web development, data integrity and accuracy is really important. So, making sure th...

11 min read

shivam-687, ash-jc-allen, faissaloux, geovanek, ronald169, akhmatovalexander, rsmsp, yvan-burrie, django23, peterfox liked this article

10 Likes
published on 29 Feb, 2024

Laravel - Eager loading can be bad!

Hello 👋 Yes, you read it right. Eager loading can be bad, really bad. However, we often resort to i...

7 min read

driesvints, sajibadhi, speed, antoniputra liked this article

4 Likes
published on 1 Apr, 2022

5 ways to optimize your eloquent queries

Did you know that 1 in 4 visitors would abandon a website if it takes more than 4 seconds to load? W...

8 min read

driesvints, naser-da, cosmeoes, elkdev liked this article

4 Likes
published on 27 Jun, 2020

Using Custom Eloquent Casts in Laravel 7

Laravel 7 is pretty much upon us (scheduled for release on 3rd March) and brings a bunch of awesome...

3 min read

driesvints, mariosoftmedic liked this article

2 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.