Tutorials

Thread carefully

As far as I can remember, PHP has always had a terrible reputation at handling very heavy (or asynchronous) tasks. For a long while if

Set Blackfire to the rain

If you’ve ever worked on any PHP application, or package, or anything you know that debugging performance issues is hard. There are several ways

Managing data flow on the client-side

I like to think of client-side applications as empty shells that get populated with data and where the source of that data can be

Webpack your bags

Last updated: December 2020 By now you’ve probably heard about this new cool tool on the block called Webpack. If you haven’t looked

PHP Docblock return types

Return type hinting is great! When I use my IDE and experiment with classes that I haven’t used before, I really love that it

HTTP Client for SDKs

SDKs I like using SDKs when I’m creating prototypes. It’s super easy to get started. You copy and paste some code samples, fill

Displaying stream progress in PHP

With PHP you can, next to handling HTTP requests, invoke scripts from the command line. For a typical web application this could be used to

Tilde and caret version constraints in Composer

When installing a dependency, we are used to installing a version that adheres to a known public interface and does what it promises. That way

PHP type hints: self and parent

In PHP we can type hint function arguments since version 5.0. Over the years and with newer versions of PHP the number of possible

Using illuminate/config v5 outside of Laravel

1. The Laravel framework has become very popular, between others, for its simplicity and expressiveness. With the recent release of Laravel v5, most of the

Elasticsearch Aggregations

I have already covered how you can easily integrate Elasticsearch with your app, but I haven’t talked anything about how you can query your

Use gitattributes to keep your tests out of other people's production

A quick tip here, for all PHP developers out there who author packages registered on packagist.org. Add a .gitattributes file in the root of

Laravel 5 Command-Oriented Approach

A lot of shiny things around the Laravel world that I would like to talk about, so I chose the new CommandBus that Laravel 5

Integrating Elasticsearch with Your Laravel app

Yo! There’s a revamped version (2022) of this article about integrating Elasticsearch with your Laravel app. Searching is an important part of many applications,

WP-CLI: WordPress Command Line Tools

Have you ever tried to automate WordPress upgrade tasks or deployments? I did, it was a big pain. Sometimes I would find myself updating WordPress

Subscribe