Category: Laravel

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
5,164 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

1,871 clicks
1,871 views

Blade Laravel

Working with @blade $loops

Everyone knows about looping data in Blade files, but have you seen these lesser known features?

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
15,735 views

Community Laravel

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.

laravel-news.com

1,314 clicks
1,314 views

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
24,620 views

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.

laravel-news.com

1,010 clicks
1,010 views

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
12,467 views

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.

github.com

1,137 clicks
1,137 views

Laravel Snippets Series: 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
15,137 views

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!

laravel-news.com

1,219 clicks
1,219 views

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.

laravel-news.com

1,288 clicks
1,288 views

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.

freek.dev

1,048 clicks
1,048 views