Introducing Laravel Quizzes! Play now

Category: Laravel

Laravel Eloquent

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.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
1,996 views

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

github.com

85 clicks
85 views

Community Eloquent Laravel

Immutable dates in Laravel

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

dyrynda.com.au

105 clicks
105 views

Laravel Snippets

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.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
2,305 views

Community Laravel

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.

freek.dev

203 clicks
203 views

Laravel Eloquent

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.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
709 views

Community Laravel

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.

laravel.com

142 clicks
142 views

Alpine Tailwind Laravel Livewire

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.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
802 views

Community Livewire Laravel

Getting started with Laravel Spotlight

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

philo.dev

184 clicks
184 views

Laravel Livewire Alpine

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.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
3,410 views

Laravel Snippets

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.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
2,212 views

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

philo.dev

481 clicks
481 views