Introducing Laravel Quizzes! Play now

Useful Community Articles

Useful articles from the programming community.

Laravel CLI

Tip: Run Tinker Instantly

Laravel productivity tip! Add this little function to your bash profile to quickly execute anything with the Tinker command and get the results instantly.

45 clicks

Eloquent Laravel

[8.x] Adds a simple where helper for querying relations

Creates the whereRelation() and orWhereRelation() helpers, and whereMorphRelation() and orWhereMorphRelation() for morph relations.

154 clicks

Eloquent Laravel

Immutable dates in Laravel

This week's 8.53.0 release includes new "immutable_date" and "immutable_datetime" casts for Eloquent!

182 clicks


A lightweight Laravel package to track changes over time

The Spatie team has released a new package called spatie/laravel-stats. This package is a lightweight solution for summarizing changes in your database over time.

285 clicks


Pruning Laravel Models

In the latest version of Laravel 8, Eloquent models now come with a Prunable and MassPrunable trait to automatically delete models based on criteria.

174 clicks

Livewire Laravel

Getting started with Laravel Spotlight

Use a Mac-ish Spotlight command pallette on your apps built with Livewire.

225 clicks


Health Icons

Free, open source health icons

1,464 clicks

Alpine Blade Livewire Laravel Tailwind

Laravel Batches and real-time progress with Livewire

Learn how to process incoming files using job batches, Laravel Echo, Laravel Livewire, Pusher, all in real time with a surprise ending.

548 clicks

Why we need multi-line short closures in PHP

PHP 8.1 is already taking shape quite well, yet there's one feature I'd love to see added, that's still being discussed: multi-line short closures.

198 clicks


Defining Default Password Validation Rules in Laravel

In Laravel 8.43, the Password Validation Rule Object now supports the ability to define default password rules you can use across your application.

383 clicks

A package to watch for file system changes in PHP

The Spatie team has released a new package called file-system-watcher. As the name implies, this package can watch changes in the file system and let you act on those changes.

209 clicks


Find N+1 problems instantly by disabling lazy loading

In the next release of Laravel 8, you can strictly disable lazy loading entirely, resulting in an exception.

194 clicks

Useful Community Packages

Community Package 1.10.0

Laravel Searchable

This package makes it easy to get structured search from a variety of sources. Here's an example where we search through some models. We already did some small preparation on the models themselves.

Community Package 1.0.2

Rich Text Laravel

Integrates the Trix Editor with Laravel. Inspired by the Action Text gem from Rails.

Community Package

Laravel Console Spinner

Laravel Console Spinner was created by Rahul Dey. It is just a custom Progress Bar inspired by icanhazstring/symfony-console-spinner.

Community Package 1.2.3

Laravel Support Bubble

A non-intrusive support bubble that can be displayed on any page

Community Package 1.3

Laravel OTP AUTH

This package allows you to authenticate with one time password access (OTP).

Community Package 1.0.0

Laravel Stats

Track application stat changes over time

Community Package 2.2.0

Laravel Mailbox

Handle incoming emails in your Laravel application.

Community Package

Laravel Model Stats

This Laravel packages gives you a statistic dashboard for you Laravel application.

Community Package v1.2.1

Laravel Wink

Wink adds a nice UI where you can manage a publication of any size with posts, pages, tags, and authors.

Community Package 1.0.0

Laravel Spotlight

Use a Mac-ish Spotlight command pallette on your apps built with Livewire.

Community Package

Laravel Maps

This package allows you to easily use leaflet.js or google maps to create a map in your laravel project.

Community Package

Short URL

A Laravel package that can be used for adding shortened URLs to your existing web app.