Concurrent HTTP requests without opening too many connections
I’ve been performing a talk on PSR-7 at PHP meetups and conferences. In that talk I demo the use of Guzzle to perform concurrent
I’ve been performing a talk on PSR-7 at PHP meetups and conferences. In that talk I demo the use of Guzzle to perform concurrent
Sometimes you see simple interfaces with a getter and a setter for a specific type of object. Some examples are league/event‘s EmitterAwareInterface and
Some time ago I started working on an existing project, so I read the documentation before diving in. At the top of the contributing.md
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
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
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
Our previous blog post covered tips on code style fixing while working on legacy projects. The blog post was very generic and the ideas are
Legacy projects Old projects (maybe even 6 months or less) often come without test suites, are tightly coupled with an outdated version of a framework
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
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
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
At work, I’m currently modernizing a legacy project without composer into an application with less code and thus fewer bugs. The first composer package