Tony Lea

Howdy, Welcome to My Blog

October 31, 2020

AdonisJS for Beginners

Written by Tony Lea - 2 minute read

AdonisJS is a Node framework that feels a lot like Laravel. In fact, many of the features feel and act very similar to Laravel. In this quick tutorial, I'll show you how to get set up with a simple Adonis application and create a few routes. Let's be...

October 16, 2020

Laravel Gates

Written by Tony Lea - 4 minute read

Laravel Gates allows you to authorize users from accessing certain areas of your application. You can easily define gates in your application and then use them to allow or deny access. Let's start things off with a simple example of granting access w...

October 14, 2020

Laravel Eloquent Make

Written by Tony Lea - 2 minute read

I recently learned about the Laravel Eloquent Make command, which allows you to create an Eloquent object without adding it to the database. To fully understand this, I'll start by creating a new Laravel app with a posts table. Create a new Laravel A...

October 13, 2020

Sharing State Between Livewire & Alpine

Written by Tony Lea - 1 minute read

Laravel Livewire 2.0 was released a couple of months ago with some really cool features 🙌. One of which is the ability to share variable data between Livewire and Alpine! This is a really cool feature because it's as if your PHP variables can now be ...

October 6, 2020

Livewire Events

Written by Tony Lea - 2 minute read

Laravel Livewire simplifies so many aspects of building out your Laravel application. Livewire makes it easy to send data from the client to the server and from the server back to the client. It's kind of like Ajax and Laravel hooked up 💖 to create L...

September 21, 2020

The ls command

Written by Tony Lea - 4 minute read

You are probably familiar with the ls command, but do you know how to use all the different options? In this interactive tutorial, you will learn the different ways to use the following command: $ ls [options] [file|dir] Interactive Guide There is a...

September 16, 2020

TailwindCSS Gradients

Written by Tony Lea - 2 minute read

As of Tailwind 1.7, you can create gradients without a single line of CSS 🎨. In this tutorial, I'll show you how easy it is to add gradients to your designs using Tailwind. Each gradient will typically have a few colors. It will have a start color an...

September 12, 2020

Digital Ocean's New App Platform

Written by Tony Lea - 2 minute read

Digital Ocean will soon be releasing a cool new Application Platform that will allow you to build, deploy, manage, and scale apps easier than ever before! If you already thought deploying apps with Digital Ocean was easy, you're in for a treat. A cou...

September 4, 2020

Creating a Slider with Tailwind CSS

Written by Tony Lea - 3 minute read

Creating a slider with Tailwind and a little bit of javascript is actually very simple and that's what we'll be cover in this tutorial. First, we'll create the HTML and CSS for our slider, and then we will add the slider functionality with a little b...

September 3, 2020

Animating Tailwind Transitions on Page Load

Written by Tony Lea - 2 minute read

Tailwind transitions classes gives you the ability to animate elements with very little effort. The only problem is that you can't implement animations using the transition classes alone. In this tutorial, you will learn how we can solve this with so...

1 2 3 4 5 6 7 8 9 10 ... 17 18