Category: Laravel
-
Block Fake Disposable Email Addresses
If you run a website that allows account signups, you’ve probably faced abuse from fake users, abusive users, fraudsters, and other malicious actors. If you look at their email addresses, you may have noticed a...
-
How to Switch PHP Versions with Laravel Valet
After some frustration trying to switch versions of PHP using Laravel Valet, I found out that valet has specific commands for running commands under an isolated version of PHP . Valet now allows you to set a...
-
How to use Stripe CLI with Laravel Valet
Handling webhooks locally can be a challenge. In the past, I have used ngrok using Valet Share to expose my local site to the internet. This worked but required me to either pay for a dedicated URL or update Stripe’s...
-
Twitter Bot
For my new quote site, AtomicQuote , I wanted to add the ability for the site to auto-tweet the most popular quotes throughout the day. I ran into a few issues and wanted to write this post to hopefully help others...
-
How to Forward a Request to Another Controller in Laravel
If you have ever need to forward or call another controller from a controller in Laravel, here are two methods This will redirect the request to another controller’s method. You can also call another method directly...
-
Useful Git Aliases
If you’re a software developer, you most likely use git . Many people are not aware that you can create an alias for commands. Creating alias will make commands easier to remember and quicker to type. Here are some...
-
Laravel, Cloudflare and Trusted Proxies
When using Cloudflare to manage your site, you may notice that if you check the ip address of the request, it will be an ip address from Cloudflare. This is happening because Cloudflare is proxying the request to...
-
Backup Multiple Laravel Sites
If you’re like me and use Laravel Forge to host multiple websites on a single Digital Ocean server, then you may have run into the issue where you need to backup all the sites on your server. You could run Spatie...
-
Side Project Tech Stack
I want to start this post by saying this is my preference on the frameworks and technologies that I use for most of my apps. Depending on your experience and goals you should experiment to see what works for you. For...
-
Round Robin DNS
In a previous post, I’ve covered how I used Digital Ocean’s load balancer to handle the increasing number of request my Weather Extension receives. For weeks everything was going great but about a month ago I started...