Introducing Laravel Quizzes!
Try your luck at quizzes based on the Laravel documentation with hundreds of hand crafted questions!
Play now →
Refactoring with Laravel's new whereRelation methods
Prior to this simple PR, we needed verbose closures to do simple queries on relationships. Now it can be done on one line with these simple helpers.
[8.x] Adds a simple where helper for querying relations
Creates the whereRelation() and orWhereRelation() helpers, and whereMorphRelation() and orWhereMorphRelation() for morph relations.
Immutable dates in Laravel
This week's 8.53.0 release includes new "immutable_date" and "immutable_datetime" casts for Eloquent!
15 Random Laravel Snippets & Methods, Part 2
I write code blocks down that I know I won't use often and will forget about. Every so often I go through them to refresh my memory.
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.
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.
Introducing Laravel Quizzes
I've been working on a small side project the last couple of weeks turning the Laravel Documentation into a suite of quizzlets for everyone to use without any accounts.
Getting started with Laravel Spotlight
Use a Mac-ish Spotlight command pallette on your apps built with Livewire.
What's new in Livewire Tables
I've been busy on open source lately, come see what new features I've added to Livewire Tables.
Snippet 4: How I autoload my helper functions
I used to just load a helpers.php file in composer.json like everyone else, however the last couple years I have taken a more organizational approach.
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.