Introducing Laravel Quizzes! Play now

Blog

(My Favorites)

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

Order By: Published Date | Most Popular

Tailwind Alpine

Enabling dark mode in Tailwind CSS

I had never implemented dark mode in Tailwind before, but it was such a breeze I decided to make it even easier for you.

Anthony Rappa Anthony Rappa

Anthony Rappa

5 min read
432 views

Laravel Eloquent

Refactoring with Laravel's new whereRelation methods

Prior to this simple PR, we needed verbose closures to do simple queries on relationships. Now it can be done on one line with these simple helpers.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
1,996 views

Laravel Snippets

15 Random Laravel Snippets & Methods, Part 2

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

Laravel Eloquent

Pruning Laravel Models

In the latest version of Laravel 8, Eloquent models now come with a Prunable and MassPrunable trait to automatically delete models based on criteria.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
709 views

Alpine Tailwind Laravel Livewire

Introducing Laravel Quizzes

I've been working on a small side project the last couple of weeks turning the Laravel Documentation into a suite of quizzlets for everyone to use without any accounts.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
802 views

Laravel Livewire Alpine

What's new in Livewire Tables

I've been busy on open source lately, come see what new features I've added to Livewire Tables.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
3,409 views

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
2,212 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
1,538 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
3,625 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
2,076 views

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
7,072 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
418 views