New: NativePHP Starter-Kit

Blog

(My Favorites)

A mashup of articles for many technologies related to the full stack developer.

Order By: Published Date | Most Popular

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

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,674 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
13,395 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
37,670 views

Laravel Blade

Using the @forelse blade directive

Use this nifty blade directive in place of a foreach inside an if/else.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
5,271 views

Laravel Validation

Nullable vs. Sometimes

The more fields you are validating, the more chance you don't actually need all of them to process what you're doing.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
26,941 views

Laravel Livewire

Laravel Boilerplate 7.0

Laravel Boilerplate provides you with a massive head start on any size web application.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
2,623 views

Laravel Validation

Laravel Validation 101, Controllers, Form Requests, & Rules

A core part of any project is understanding how to validate the incoming request from your users.

Anthony Rappa Anthony Rappa

Anthony Rappa

4 min read
2,936 views