Saeghe: new package manager for PHP

Today, I came across Saeghe — new package manager for PHP. Official site describes it as “modern PHP package manager that boosts your code”, let’s check it out! ...

3 November 2022 · 9 min · Grzegorz Korba

Composer: binary-only Docker images

Few months ago I came with an idea to build Composer’s Docker images, but containing only binary file. Yesterday my pull request was merged, and now it’s possible to use such images in your own Docker builds as the simplest way to get Composer binary in your own image! 😁 ...

1 November 2022 · 4 min · Grzegorz Korba

Drawbacks behind Laravel Facades

There were many discussions if #Laravel’s facades implement Gang of Four’s Facade Pattern, but I think it does not matter at this point - the Laravel team won’t change naming convention anyway. Naming is not a problem, I see other issues with facades - let’s look at it! ...

24 August 2022 · 5 min · Grzegorz Korba

Laravel Pint: a study of ambivalence

In recent days Laravel Pint was introduced and caused havoc of ambivalence - some love it, some hate it. Personally I have mixed feelings about it, and I wanted to share my thoughts with the other developers. ...

28 June 2022 · 6 min · Grzegorz Korba

PHPStan in virtualised environments

PHPStan 1.7.15 brings small, but helpful feature: support for relative paths in editorUrl for virtualised environments. It’s even better when it makes you a repository collaborator - yes, it’s my initiative! 🥹 ...

20 June 2022 · 2 min · Grzegorz Korba

New in 🐘 PHP 8.2

PHP 8.2 is set to be released at the end of 2022, but final date will be announced at some point in the future. In this post I will evaluate all the features, improvements and deprecations. I’ll try to keep this article up-to-date with RFCs that will be accepted after publishing. ...

27 May 2022 · 16 min · Grzegorz Korba

Rector and ECS: new configurator API

Rector is a tool for automatic code refactoring. ECS allows keeping coding standards in the project. From few days, configuration of both tools is more developer friendly. ...

17 April 2022 · 2 min · Grzegorz Korba