Support the ongoing development of Laravel.io →
Article Hero Image November 24th 2025

The Difference Between ?: and ?? in PHP

Introduction In PHP, I often see the ternary operator (?:) and null coalescing operator (??) being u...

Read article
Article Hero Image October 23rd 2025

The `match` Expression in PHP

Introduction The match expression is a PHP feature that I love using. It was introduced in PHP 8.0 (...

Read article
August 24th 2025

Boosting Laravel Boost

Hello ? It's been a while since I wrote an article. I mean, why would I? You prompt AI about a subje...

Read article
May 16th 2025 Sponsored

Full Text Search & More with Typesense and Laravel

Building powerful and user-friendly search functionality is crucial for many Laravel applications. W...

Read article

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

Articles

14 Articles

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

, , liked this article

14 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

, , , , , , , , , and more liked this article

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

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

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.

© 2025 Laravel.io - All rights reserved.