Using the magic of mkcert to enable valid https on local dev sites
Google Chrome (and most modern browsers), have taken a large stance against unencrypted http sites. This includes dev sites and those that use development TLDs like .test and .devlocal.
Building an interactive Raspberry Pi dashboard with Laravel, Grafana, and Docker
I've been monitoring the temperature and humidity on my back porch for over a year using a Raspberry Pi Zero and a DHT22 sensor, pushing the data every minute to a more powerful Raspberry Pi 3 Model B in my living room.
Authenticating a Vue SPA is easy with Laravel Sanctum
Released earlier this year, Laravel Sanctum (formerly Laravel Airlock), is a lightweight package to help make authentication in single-page or native mobile applications as easy as possible.
5 tips for supercharged Laravel Eloquent queries
I've been working with Laravel for the last five years or so, and over that time I've come across a few cases where I needed a unique or atypical way of returning a piece of data from my application.
My favorite Laravel helpers and how to use them
As a full-stack PHP developer who works with Laravel on a day-to-day basis, I'm always looking for shortcuts and helpful methods in the framework that I can use to cut down on development time or code complexity.
I built a static site generator to help during COVID-19
A few months ago, I published an article about a static site generator I made called Cleaver. Before this weekend, I mainly was just letting it sit idle. Fixing a few issues that sprung up, figuring out what features I should be adding to it, et cetera.
Getting started with Amazon S3 storage in Laravel
I've worked in the past on a few projects that use Amazon's S3 service to store images and files from Laravel applications. Even though the functionality is pretty much built into the framework, the process of getting started can be a little jarring, especially to those who don't have a whole lot of experience with the AWS suite.
Crafting a better local Laravel dev environment with Docker
Want to skip the detailed tutorial altogether and dive into this yourself? Install Docker for your OS, clone this repo, add your Laravel app files to the src directory, and from the root project directory you just cloned run: docker-compose up -d --build.
The satisfaction in treating your side projects like bonsai
I'm a serial starter. If half-finished projects were dollars, I'd be a millionaire. A little over a year ago I wrote an article about overcoming my issues finishing things that I started, but in the end that lead to a new, unforeseen problem: maintaining what I launch.
How to use Laravel's bind and singleton methods
A while back, someone pointed out that in my Laravel package tutorial, my use of a singleton method was completely unnecessary. Truth be told, up until this point I really hadn't looked into or thought about the bind or singleton methods that I've seen in the source code of other packages.
Four ways to pass data from Laravel to Vue
I've been working on projects that use both Vue and Laravel for the last two to three years, and during the start of each's development I have to ask myself “How am I going to pass my data from Laravel to Vue?”.
Adding real-time updates to your Laravel and Vue apps with laravel-websockets
Earlier this month I launched listpal.co, a to-do app that included websockets functionality so that each user with the list open would see updates from everyone else. It was definitely a learning experience and my first time really diving into the world of Vue + websockets combined.
So you want to get started with AR.js
Augmented Reality seems like it's everywhere in 2018. Between Snapchat filters, Google stickers, IKEA's furniture preview, and now Shopify's AR Quick Look feature, putting 3D objects in the physical world seems to be more desirable than ever.
The beauty of Docker for local Laravel development
Want to take the fast track and skip the detailed tutorial below? Install Docker for your OS, clone this repo, add your Laravel app files to the src directory, and from the root project directory you just cloned run: docker-compose build && docker-compose up -d.