Category: Laravel

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
1,499 views

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.

laravel-news.com

859 clicks
859 views

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

hergen.nl

830 clicks
830 views

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
2,221 views

Snippets Laravel

Snippet 1: Using Laravel's ConfirmableTrait in commands

Did you know you can easily add the production consoles messages you get with Laravel's migrate and seed to your own commands?

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
1,568 views

Alpine Blade Laravel

Building a Constrained Textarea using Alpine.js

Let's build a textarea with a max limit and a character countdown using Blade components and Alpine.js

Anthony Rappa Anthony Rappa

Anthony Rappa

3 min read
7,529 views

Community Laravel

Forge: Octane Support

Back in March, Taylor announced the new Laravel Octane project at Laracon Online. Since then, we've been busy working on bug fixes and enhancements to Octane, as well as adding support to Laravel Forge.

blog.laravel.com

824 clicks
824 views

Community Laravel

Validating Laravel Console Input

Ryan Chandler shows us how to create a trait to handle console input validation.

ryangjchandler.co.uk

712 clicks
712 views

Alpine Laravel Livewire

Livewire Tables 1.0

New features + Tailwind CSS support, multi column sorting, definable filters, bulk actions, and more.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
9,982 views

Laravel Livewire Blade Alpine

Creating a Filepond component using Blade, Livewire, & Alpine.js. Then validating & storing with Spatie Media Library

Let's create a Blade component that uses the Filepond library with Alpine.js, sends it to the server with Livewire, and saves it with Spatie Media Library.

Anthony Rappa Anthony Rappa

Anthony Rappa

15 min read
26,334 views

Community Laravel Livewire Broadcasting

Laravel Batches and real-time progress with Livewire

Upload files using Laravel Echo, Livewire, and Laravel Batch Jobs

philo.dev

1,503 clicks
1,503 views

Community Laravel Broadcasting

Laravel Real-Time Notifications

In this post, we will take a look at how we can send real-time notifications with Laravel, the Laravel Websockets package, and Laravel Echo.

christoph-rumpel.com

1,134 clicks
1,134 views