Support the ongoing development of Laravel.io →
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
January 14th 2022

Building an API using TDD in Laravel

Hi Artisans, my name is Alberto Rosas, I've been enjoying Laravel for many years and one of the most...

Read article
January 6th 2022

Managing Disk Space With "ncdu"

Linux ships with a useful command named du (Disk Usage), which is used to determine the size of file...

Read article

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

Articles

6 Articles

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 2 Likes
3 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...

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 3 Likes
21 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...

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

26 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

Top authors

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.