Performant Laravel

Chris Fideo, of Servers For Hackers and Shipping Docker, published a new free video serious on optimizing performance for Laravel apps. He shows how to use the built in artisan commands such as config:cache and route:cache,how to optimize queries, build up good indexes and how to add an object cache in a clean way. There […]

Continue reading →

Make your app fly with PHP OPcache

Recently this button to optimize PHP’s OPcache was added to Laravel Forge. If you were wondering what PHP OPcache is all about and what pressing this button does with your application, read this article Olav van Schie wrote on the subject a while ago. Every time you execute a PHP script, the script needs to […]

Continue reading →

Diving Laravel

Mohammed Said, Laravel employee number #1, recently announced that he published a new site where he shares stuff he learned while researching the Laravel code base. The site is called “Diving Laravel”, which is kinda nice knowing that Mohammed is an incredible diver himself. In this website I’m going to share notes on the internals […]

Continue reading →

PHP Generics and why we need them

On the stitcher.io blog a new post appeared that explains the benefits of generics with a practical example. Generics aren’t supported in PHP, but there is an RFC. In today’s blog post we’ll explore some common problems with arrays in PHP. All the problems and issues listed could be solved with a pending RFC which […]

Continue reading →

Quickly dd anything from the commandline

Laravel’s tinker command allows to run any code you want as if you are inside your Laravel app. But if you want to run a single line of code if can be a bit bothersome. You must start up tinker, type the code, press enter, and quit tinker. Our new spatie/laravel-artisan-dd package contains an Artisan […]

Continue reading →

PHP Versions Stats – 2017.1 Edition

Jordi Boggiano, co-creator of Composer / Packages, published some new stats on the usage of PHP versions. Great to see that PHP 7 overall now represents over 50%. A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the packagist.org […]

Continue reading →

$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 →