A collection of PHPStorm tips

Nikush Patel created an awesome little site where he shares PHPStorm tips. Every tip is demonstrated by an animated gif. I’m a big fan of PhpStorm and an equally big fan of keyboard shortcuts and optimised workflows, so I wanted to share all the best tips and tricks I know to help everyone else make […]

Continue reading →

Optimizing PHP performance by using fully-qualified function calls

A fully qualified function name is a little bit faster than a non-qualified one. Toon Verwerft explains it all in his lastest blogpost. Today, a little conversation on Twitter escalated rather quickly. Apparently PHP runs function calls differently depending on namespaced or non namespaced context. When calling functions in a namespaced context, additional actions are […]

Continue reading →

Introducing Private Packagist

Jordi Boggiano and Nils Adermann, creators of Composer, have recently released a paid version of Packagist. The service aims to make managing private packages a breeze. Private Packagist aims to remove all these hurdles for businesses to finally make working with Composer as convenient as it should be. Being a hosted service, setting up your […]

Continue reading →

An easy to install uptime monitor

A few weeks ago we released our uptime and ssl certificate monitor. It’s written in PHP and distributed as a Laravel package. If you’re familiar with Laravel that’s all fine, but if you have no experience with that (kick ass) framework, it’s a bit difficult to get started with using our uptime package. That’s why […]

Continue reading →

The delicious evils of PHP

In a post on Sitepoint Christopher Pitt demonstrates some cool usages of eval and exec. I want to look at two PHP functions: eval and exec. They’re so often thrown under the sensible-developers-never-use-these bus that I sometimes wonder how many awesome applications we miss out on. Like every other function in the standard library, these […]

Continue reading →

Upgrading to PHP 7.1 is easy

PHP 7.1 was released last week. It has many nice new features. If you’re anything like me, you want to use the latest version right way. Upgrading to PHP 7.1 is not that difficult. Personally I use homebrew. The steps required to upgrade from 7.0 are laughably simple. Just issue this command in your terminal: […]

Continue reading →

Improving the performance of our PHP based crawler

Today a new major version of our homegrown crawler was released. The crawler is used to power our http-status-check, laravel-sitemap and laravel-link-checker packages. A new major feature is the greatly improved crawling speed. This was accomplished by leveraging multiple concurrent requests. Let’s take a look at the performance improvements gained by using concurrent requests. In […]

Continue reading →

Some request filtering macros

In a gist on GitHub Adam Wathan shares some macros that can be used to clean up a request. Allows you to trim things, lowercase things, whatever you want. Pass a callable or array of callables that each expect a single argument: Request::macro(‘filter’, function ($key, $filters) { return collect($filters)->reduce(function ($filtered, $filter) { return $filter($filtered); }, […]

Continue reading →

No Time for a Taxicab

Gary Hockin posted a video with his attempt in solving the Day 1 challenge of http://adventofcode.com/. The video not only shows how he solved the problem codewise but also demonstrates some nice features of PHPStorm. Mistakes and all, I attempt to code day 1 part 1 of the Advent of Code challenges you can find […]

Continue reading →