Pie: new extension installer for PHP

Pie, new extension installer for #PHP was released! Letā€™s have a look at it and see what it brings to the table. ...

18 November 2024 Ā· 2 min Ā· Grzegorz Korba

Messenger: consume all transports on Symfony 6.4

Itā€™s hard to believe, but the --all option for the messenger:consume command in Symfony was unavailable until version 7.1 ā€” on lower versions list of transports must be passed explicitly to the executed command. But if you need this, itā€™s really easy to port this feature to 6.4! ...

19 April 2024 Ā· 5 min Ā· Grzegorz Korba

Final word about `unfinalize`

Recently Iā€™ve created pull request to #PHP-CS-Fixer that aimed to prevent installing stevebauman/unfinalize along with friendsofphp/php-cs-fixer, effectively blocking Fixer to be installed as a dev dependency for that tool. That escalated quickly šŸ˜…! ...

4 October 2023 Ā· 10 min Ā· Grzegorz Korba

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