My Simple Approach to using Docker and PHP

I'm going to show you a straightforward Docker setup that you can use to get started on a new project. Come along with me and give Docker and PHP a shot as I walk you through setting up a Laravel application with an easy Docker setup!

Read More


Using Guzzle 6 Middleware in a Laravel Application

I want to show you some of my techniques for defining reusable middleware and other tricks that will hopefully help you work more comfortably with Guzzle 6 in a Laravel application. These techniques also apply outside of the Laravel framework.

Read More


Automatically Publish New Atom Package Versions

Automatically publish new versions of your Atom text editor packages with a simple bash script that takes care of incrementing the NPM package version, pushing tags to the remote repository, and publishing the new version with APM (Atom Package Manager)

Read More





How to Accept JSON POST Requests in Lumen

Sending a JSON encoded entity to a RESTful API is a common need, and a JSON payload is actually pretty slick and convenient. It eases the pain of form-encoded strings when sending post data, and makes it easier to structure complex data that’s more readable. It can also make documentation easier to follow when you share cURL examples of making requests to your API. JSON is much easier for readers to digest compared to form encoded request params.

Read More