PHP is Weird, Stateless, and Beautiful
PHP is stateless, much like HTTP. This makes it weird but is one of its great strengths.
PHP is stateless, much like HTTP. This makes it weird but is one of its great strengths.
I came across Nginx Unit recently. Turns out, it's really cool! We can get rid of PHP-FPM, and run our apps more efficient. Let's see how, and go over the pros and cons.
Let's see how an HTTP request gets turned into code that Laravel can run!
PHP-FPM's default configuration is likely not optimized for your server. See why and how to fix it!
Mocking the Stripe API in your Laravel tests.
My 2018 year in review.
Dec 30, 2016
I wanted to change the default laravel.log
file name for an application I'm working on. This is hard-coded into Laravel core, and so I had to get a bit fancy to do it. See how!
Two personality traits exist on opposite ends of a spectrum: adapters and makers.
Jan 06, 2016
Here's a little bit about content negotiation in your Laravel application.
May 13, 2015
Since I'm doing a lot of video casting lately, I've invested in some decent gear. Here's how I came about and decided on what gear to get!
May 05, 2015
When we use Symfony's Console component to write CLI commands in PHP (and you should!), we're almost always writing any output to "stdout". This isn't necessarily good.
Jun 28, 2014
I recently gave a talk on Hexagonal Architecture at Laracon NYC. The feedback was great, but seemed to have left people wanting for some extra explanation and of course examples. This is an attempt to expand on the ideas of that presentation.
May 09, 2014
Since Ubuntu 14.04 is released, and most of the kinks are worked out, I wanted to let you know how I see Vaprobash moving forward.
Mar 16, 2014
Often I see people in articles, comments, and chat espousing "the right way" to code. This is a reaction to that.
Mar 09, 2014
In this article, I'm going to cover an example of implementing some business logic in our usual Active Record patterns, and then I'll show how the same logic can be applied using the Data Mapper pattern. In both cases, we'll see how we can move our business logic into our business entities, thus avoiding anemic business domain. We'll also cover pros and cons of the two styles of ORMs and how they affect the way we write our code.