Blog

(My Favorites)

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

Order By: Published Date | Most Popular

Alpine Snippets Tailwind

Snippet 5: Creating a simple, but cool delete button with Alpine.js and TailwindCSS

Sometimes ideas pop into my head that I don't immediately need, but I think are a good exercise. So I carve out 15 minutes of my day to code an example to learn and save to my library of components for future use.

Anthony Rappa Anthony Rappa

Anthony Rappa

2 min read
86,841 views

Laravel

What's New in Laravel: 8.58 - 8.68

Are you like me and find it impossible to find the time to keep up with the changes in Laravel on a weekly basis? In this series I'll try to roll them up periodically into one post.

Anthony Rappa Anthony Rappa

Anthony Rappa

3 min read
5,155 views

Alpine Tailwind Series: Tailwind CSS Dark Mode

Extending Tailwind CSS dark mode to use system preference

In a previous article, I showed you how to use Tailwind CSS to enable a dark theme on your application. Let's take it one step further and have it prioritize the user's system theme settings first.

Anthony Rappa Anthony Rappa

Anthony Rappa

3 min read
6,472 views

Laravel

Introducing Laravel Authentication Log

Laravel Authentication Log is a package which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.

Anthony Rappa Anthony Rappa

Anthony Rappa

1 min read
6,417 views

Tailwind Alpine Series: Tailwind CSS Dark Mode

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
13,531 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
7,052 views

Laravel Snippets Series: 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
5,223 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
5,704 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
3,726 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
9,892 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
4,658 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
14,857 views