Category results for: Development

Posted on , Development

Bringing Laravel’s dump() to Nuxt

Recently, I’ve been diving deep into Nuxt, and the experience has been fantastic. As a “Full-Stack Vue Framework,” it handles a lot of the heavy lifting, but one classic pain point remains: data visibility. If you come from the Laravel ecosystem, you’re likely spoiled by dump(), dd(), or the powerhouse that is Laravel Ray. These…

Posted on , Development

How to Change Git Branches on a Site Deployed with Forge

When Forge provisions a site, it uses a shallow clone of a single branch. This method prevents switching to other branches later. This approach is helpful for performance. Nonetheless, it can be limiting. This limitation arises when you need to test or deploy from a different branch on a staging or test server. Here’s how…

Posted on , Development

Setting Up a Cloudflare Tunnel with Wildcard Support

Cloudflare Tunnel is an excellent tool to expose your local websites to the public securely. It eliminates the need to configure a traditional VPN or public IP addresses. Here’s a step-by-step guide on how to set up a Cloudflare Tunnel and use a wildcard to access multiple local sites: Step 1: Create a Cloudflare Account…

Posted on , Development

Open folders in PhpStorm

PhpStorm has a command-line interface that you can install using the Tool Box, but did you know that you can also use the finder? Normally I’d just drag a folder into the app icon in the dock, and I guess that’s fine. But it’s also sometimes awkward on a dual monitor setup or when you’re…

Posted on , Development

A better way to work with Composer locally

Working on a Composer package locally can be challenging. You don’t want to commit changes to Git just to test something, and constantly updating Composer to see changes isn’t ideal either. Before, I often used symlinks for local development, and I still occasionally do. Yet, I’ve found an easier method for my core projects: using…

Posted on , Development

Working with branches in Composer

From time to time, you will find that you are going to need to work on a new feature, maybe your main application has some changes that live in your composer package or maybe you are adding a new feature to your compose package. In both scenarios, you might be maintaining a couple of feature…

Posted on , Development

Simple Googe Geolocation

What it is, and how you can use it.

What is Geolocation? Geolocation is a method used to find the location of your internet device on earth. Imagine you lost your cell phone, and use the find my phone option. The location of your phone will be your device’s last known location. How does Geolocation work? There are two main types of data collection….

Posted on , Development

Laravel 7 Custom Email Verification Template

I will be assuming that you have already got Laravel installed, setup and tour authentication is working. Otherwise, why would you be looking into customizing the email templates? 😁 The Laravel documentation for Email Verification will cover the setup by reading the documentation. But it stops just short of actually explaining how to customize the…

Posted on , Development

Laravel 7 Custom Password Rest Email Template

The Laravel documentation mentions that you can customize the Password Rest Template, but doesn’t explain how you would actually do it. That said, I will assume that you already have auth and have published your auth views. That is covered very well in the documentation. As stated in the documentation you will need to over…

Posted on , Development

Easy Google Distance Matrix

What is the Distance Matrix? A Distance Matrix is a service that provides travel distance and information between two points based on the recommended route from Google’s APIs. In the case of Google, you can also specify the mode of transportation such as walking, cycling, transit, and driving. How does Distance Matrix work? Google’s Distance…