Support the ongoing development of Laravel.io →
Article Hero Image April 24th 2024

Find Open-Source Laravel/PHP Projects to Contribute to

Introduction I love open-source software. I love the idea of being able to contribute to a project t...

Read article
Article Hero Image 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

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

Articles

10 Articles

Article Hero Image
published on 18 Nov, 2024

Laravel Custom Query Builders Over Scopes

Hello 👋 Alright, let's talk about Query Scopes. They're awesome, they make queries much easier to r...

3 min read

driesvints, mimisk liked this article

2 Likes
Article Hero Image
published on 18 Apr, 2024

Laravel Redis Throttle In Details: Tutorial

Redis Throttle is a fantastic feature provided by the Redis facade. It’s a convenient way to limit t...

8 min read

driesvints liked this article

1 Likes
Article Hero Image
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
Article Hero Image
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

26 Likes
Article Hero Image
published on 4 Feb, 2022

How (and when) to fake an Eloquent model

In a recent Laravel project I've built (following TDD principles) I stumbled across this problem: H...

4 min read

driesvints liked this article

1 Likes
Article Hero Image
published on 10 Jan, 2022

Choosing the right data type & means of generating unique primary keys

This article is one of several I've written while building a web app in public. It’s called Lumeno...

10 min read

driesvints, rsmsp, achmedislamic, phcostabh, sshead liked this article

5 Likes
Article Hero Image
published on 15 Dec, 2021

Scaling your Laravel applications

This article is part of a series where I build a web application in public. It's called Lumeno and...

13 min read

driesvints, tomhatzer, mkhleel, behzodjon, alexanderf liked this article

5 Likes
Article Hero Image
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 and more liked this article

11 Likes
Article Hero Image
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
Article Hero Image
published on 27 Jun, 2020

RDS MySQL Performance Tuning - Speeding up slow inserts

If you're running a write heavy application with a MySQL database you might notice a fairly signific...

2 min read

driesvints, ssatz, chrisbjr, rufflesaurus, ostap liked this article

5 Likes

Top authors

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.