Tony Lea

Howdy, Welcome to My Blog

November 6, 2020

Goto Previous File in VSCode

Written by Tony Lea - 1 minute read

I love using the command palette in VS Code to jump to a specific file. You can open the palette with the keyboard shortcut Cmd+P and then start typing for the name of the file you are looking for. This is great! Unfortunately, when switching betwee...

November 6, 2020

Laravel Authentication vs Authorization

Written by Tony Lea - 1 minute read

Laravel provides some really great features out of the box. Authentication and Authorization are just a few of them. If you are fairly new to application development and/or Laravel, these two features might get confusing to distinguish them apart. In...

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...

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