Support the ongoing development of Laravel.io →
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
February 4th 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...

Read article

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

Articles

7 Articles

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 4 Likes
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...

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 4 Likes
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...

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...

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...

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 5 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.

© 2023 Laravel.io - All rights reserved.