Category: Laravel

Laravel

What's New in Laravel: 8.58 - 8.68

Are you like me and find it impossible to find the time to keep up with the changes in Laravel on a weekly basis? In this series I'll try to roll them up periodically into one post.

Anthony Rappa Anthony Rappa

Anthony Rappa

3 min read
5,637 views

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.

twitter.com

1,251 clicks
1,251 views

Laravel

Introducing Laravel Authentication Log

Laravel Authentication Log is a package which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
7,638 views

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
8,162 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

1,440 clicks
1,440 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

1,344 clicks
1,344 views

Laravel Snippets Series: 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
5,709 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

1,544 clicks
1,544 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
6,652 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

1,181 clicks
1,181 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
4,357 views

Community Livewire Laravel

Getting started with Laravel Spotlight

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

philo.dev

1,403 clicks
1,403 views