GitHub Action to Deploy Laravel Vapor Apps

under Laravel

Here's a GitHub Actions file you can use to deploy Laravel applications to Laravel Vapor.

Goals for 2021

under Thoughts

Taking a new approach to goal setting in 2021 by making my goals public, high level, and planned out.

Adding Stripe Checkout and Customer Portal to your Laravel application

under Laravel

Learn how to add Stripe's Checkout and Customer Portal products to your Laravel application using Laravel Cashier.

Why You Should be Using React Context More Often

under React

React Context can be more than just global state in an app. I like to think of Context as "encapsulated state".

Validating Props in Vue

under Vue

Use Vue's built-in prop validators to validate your component's props.

Storing and testing encrypted values in Laravel

under Laravel

A couple of open source packages makes storing and testing encrypted database values in Laravel a breeze.

Supporting Dark Mode with SVG Favicons

under CSS

SVG favicons allow you to invert your favicon's color scheme for users that are using dark mode.

MySQL General Log

under MySQL

Let's run through how you can setup and configure the MySQL general log.

Force PHP version during GitHub Actions job

under Devops

GitHub has a set of pre-installed packages with the default containers it provides. Learn how you can override the default PHP version.

How to fix "cannot declare class because the name is already in use" error in Laravel/PHP

under Laravel

This error can happen when you have two of the same class names declared in the same namespace.

Fixing Duplicate ID Errors with typeorm-factory

under TypeScript

You need to pay close attention when creating factories with typeorm-factory.

Building a Search Drop Down Component with Laravel Livewire

under Laravel

Follow along as we build a drop down component with Caleb Porzio's Laravel Livewire.

Connecting to ElastiCache with Laravel when using Encryption In-Transit

under Laravel

If you're using ElastiCache with the Encryption In-Transit setting turned on, you'll need to tweak your REDIS_HOST environment variable when connecting with Laravel

Using GitHub's Gists for embedded code blocks on your Statamic v3 site

under Statamic

You can use GitHub's Gists to embed your code blocks via the Oh See Gists add-on.

How to Fix PHPUnit Splitting Dots onto New Lines

under PHP

Quick tip on how you can fix PHPUnit from splitting test output onto new lines.