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

192 Articles

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
Article Hero Image
published on 7 Mar, 2025

How to Filter Profanity in Laravel with Squeaky

Introduction When you accept user input in your web applications, you may want to validate it to ens...

5 min read
1 Likes
Article Hero Image
published on 4 Mar, 2025

Craft Emails with React and Tailwind using Inertia Mailable

How to easily build dynamic email templates while keeping your React and Tailwind tools using the I...

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

© 2026 Laravel.io - All rights reserved.