Support the ongoing development of Laravel.io →
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
Article Hero Image 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
April 10th 2025 Sponsored

LarAgent: An Open-source package to Build & Manage AI Agents in Laravel

Laravel has all the right ingredients to become a strong candidate for AI development. With its eleg...

Read article

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

Articles

184 Articles

Article Hero Image
published on 23 Jun, 2025

Pass a Query Builder to "whereIn" to Reduce Your DB Queries

Introduction I recently learnt about a cool feature in Laravel that allows you to pass a query build...

Article Hero Image
published on 16 Jun, 2025

Asymmetric Property Visibility in PHP

Introduction Asymmetric visibility is a feature that was introduced in PHP 8.4 (released: November 2...

9 min read
1 Likes
Article Hero Image
published on 13 Jun, 2025

Formatting Monetary Values in JavaScript

Introduction When building your web applications, you might need to format numbers as monetary value...

3 min read
1 Likes
Article Hero Image
published on 12 Jun, 2025

Check Every Key Exists in a PHP Array with Arr::hasAll()

Introduction In Laravel 12.16, a new hasAll method was added to the Illuminate\Support\Arr class. Th...

3 min read
1 Likes
Article Hero Image
published on 11 Jun, 2025

Cast Laravel Model Fields to "Illuminate\Support\Uri" with "AsUri"

Introduction I recently contributed a new feature to the Laravel framework that allows you to cast m...

Article Hero Image
published on 16 May, 2025 Sponsored

Full Text Search & More with Typesense and Laravel

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

Article Hero Image
published on 11 Apr, 2025 Sponsored

LarAgent: An Open-source package to Build & Manage AI Agents in Laravel

Laravel has all the right ingredients to become a strong candidate for AI development. With its eleg...

7 min read
2 Likes
Article Hero Image
published on 9 Apr, 2025

Covariance and Contravariance in PHP

Introduction "Covariance" and "contravariance" are two terms I didn't know exist...

10 min read
3 Likes
Article Hero Image
published on 4 Apr, 2025

Human-Readable File Sizes in Laravel (KB, MB, GB)

Introduction There may be times when you want to display file sizes to your users in a human-readabl...

3 min read
2 Likes
Article Hero Image
published on 4 Apr, 2025

Formatting and Spelling Ordinal Numbers in PHP and Laravel

Introduction There may be times when you want to convert numbers to ordinal numbers in your PHP and...

6 min read
1 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.

© 2025 Laravel.io - All rights reserved.