I have found Caddy to be my go-to server for running PHP Docker containers in production. Using the official PHP-FPM image, we can run Caddy and start PHP-FPM in the background within the same container.
Learn about the upcoming Nginx Unit web application server and take it for a spin with Docker, PHP7, and Laravel.
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!
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.
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)
Learn how to generate markdown documentation from your Atom plugin snippet files (CSON). This is a quick writeup of how I automated the process of generating documentation from the source CSON files.
Over the weekend I published an Atom editor plugin for my Laravel and PHP snippets
I am excited to announce our next book title at Bitpress, Docker for PHP Developers! We want to help you learn Docker and start using it in your daily development workflow.
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.