Introducing Laravel Quizzes! Play now

Category: Laravel

Alpine Livewire Laravel Javascript Blade

Embracing the love between Livewire and Alpine

Building with new tools is hard, especially when it goes against what you've learned about the client and server in the past. Livewire and Alpine are built for each other and here's how you make the most of that relationship.

Anthony Rappa Anthony Rappa

Anthony Rappa

8 min read

Community Laravel

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.

572 clicks

Laravel Livewire

Building a like button component with Laravel Livewire

Follow along as I create a reusable like button in Laravel Livewire that restricts clicks per IP address.

Anthony Rappa Anthony Rappa

Anthony Rappa

6 min read

Community Laravel Eloquent Database

Laravel one-of-many relationships

This pull request to the Laravel framework provides a solution for creating one-to-one relations that are a partial relation of a one-to-many relation.

642 clicks

Laravel Snippets

15 Random Laravel Snippets & Methods

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

Community Laravel

Laravel Octane v1.0 is Here

The Laravel team has been hard at work on Laravel Octane, a tool to supercharge your Laravel application's performance. After releasing the beta in April, Octane has released a stable 1.0 version!

729 clicks

Community Laravel Tailwind

Simple Automatic Upgrades for Tailwind CSS with Shift

On Monday Shift officially released Tailwind Shifts for upgrading Tailwind projects all the way back to Tailwind 0.x.

791 clicks

Community Laravel

Develop faster by adding a dev routes file in a Laravel app

Freek teaches us how to add development-only routes to your application to quickly preview e-mail templates or fire notifications.

568 clicks

Laravel Snippets

Snippet 3: Making the logged in user available to all views using view composers

Learn how to use view composers to share small pieces of data across multiple views instead of passing them through many controllers.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read

Community Laravel Validation

Password Validation Rule Object in Laravel 8

A new Password Rule object is now included in Laravel v8.39, thanks to the efforts of Nuno Maduro.

585 clicks

Community Laravel

Processing Identity Documents in Laravel

Learn how to use a package that allows you to handle documents like passports and other documents that contain a Machine Readable Zone (MRZ).

567 clicks

Snippets Laravel

Snippet 2: Adding a UUID Trait to auto-populate uuid columns on model create

If you ever have the need for a UUID column on your models, you may as well use a trait to populate them in case you need the same functionality on other models in the future.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read