New: NativePHP Starter-Kit

Category: Laravel

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
16,536 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,870 clicks
1,870 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
18,428 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,952 clicks
1,952 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,906 clicks
1,906 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,645 clicks
1,645 views

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
2,511 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

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

1,599 clicks
1,599 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
4,173 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
2,996 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
11,675 views