$PHP = đź’©;

Simon Yousoufov argues that PHP is going the way of the dodo. It’s well known that PHP is a dead programming language and that its 22-year-old ecosystem is effectively useless now that we have Node and its fancy new asynchronous frameworks. Node’s superiority is evident because everyone knows that single-threaded, asynchronous, programs are better by […]

Continue reading →

PHP UK Conference 2017 videos have been released

PHP Uk Conference is an excellent conference where I had the pleasure of speaking this year. All sessions were recorded. Last week the organizers released all the videos. Here’s the entire playlist: https://www.youtube.com/playlist?list=PL_aPVo2HeGF-_djRi_UVWWLdkVpYQFnFm Freek Van der Herten Freek Van der Herten is a partner and developer at Spatie, an Antwerp based company that specializes in […]

Continue reading →

A conversation on laravel-html

Hi, how are you? I’m fine thanks! How are you? I saw you released another package last week. Yup yup, you mean laravel-html, right? It was actually coded up by my colleague Sebastian, who did an awesome job. But why put out yet another html generator? Html generation is a solved problem, right? Yes, it […]

Continue reading →

A package for snapshot testing in PHPUnit

My colleague Sebastian recently released a new package called phpunit-snapshot-assertions. In a new post on his blog he tells all about it. The gist of snapshot testing is asserting that a set of data hasn’t changed compared to a previous version, which is a snapshot of the data, to prevent regressions. The difference between a […]

Continue reading →

How to set up your Laravel application for zero-downtime deploys

On his blog Matt Stauffer published a new post explaining the steps required to deploy your app without any downtime. The reason you’re getting zero-downtime deploy from these tools is because the entire deploy process—clone, composer install, etc.—doesn’t happen in the directory that is currently serving your site. Instead, each new release gets its own […]

Continue reading →

Partial model updates in Laravel

Michael Dyrynda, one of the co-hosts of the Laravel News and the North Meets South podcasts, explains how to easily uptime your models with data coming from requests. Instead of littering your controller method with multiple request()->has(‘field’) checks, you can employ the request object’s intersect method. The intersect method will return a new array containing […]

Continue reading →

Make git work better with GitHub

A few months ago I installed a command line utility called hub. I’m really fond of it. It’s aim is to make it easier to interact with GitHub from the commandline. It’s a wrapper around the standard git command. Once it’s installed you can do stuff like this (take from the manual page) # clone […]

Continue reading →

Sharing Data in a Laravel/Vue Application

There are multiple good ways to pass data from Laravel to Vue. In a new blogpost Jesse Schutt covers all the options. It has been helpful to think of my application as “layers” or separate sections of code each with varying responsibilities. I like to think of Laravel as the intermediary between the persistent data […]

Continue reading →