Git Rebase: why you should use it

While working with Git version control system you have quite freedom about how you work with commits and branches. But there are universal practices you should know to keep your repository clean. How rebase can help you with this? ...

26 February 2024 路 4 min 路 Grzegorz Korba

Final word about `unfinalize`

Recently I鈥檝e 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

Dockerfile: runtime definition

A Dockerfile is to a project what sheet music is to a song - it ensures that the same operations are always performed, in the same order, with the same result. ...

28 February 2023 路 12 min 路 Grzegorz Korba

Docker for local development

Docker has been in the developers鈥 world for years, but for many people it is still something remote and enigmatic. In a series of posts, I would like to introduce both theory and practice - you will find out how Docker can help you in your daily work, how to prepare an environment based on Docker and how to use this environment. ...

23 January 2023 路 6 min 路 Grzegorz Korba

Organising work in GitHub and Gitlab

In everyday work with code, it is important not to waste time on operational matters. However, how not to get lost in your and other people鈥檚 reports and contributions? How do you know what to look at? How not to miss anything? Both GitHub and Gitlab have their own activity monitoring mechanisms - let鈥檚 take a look at them! ...

5 December 2022 路 16 min 路 Grzegorz Korba

Saeghe: new package manager for PHP

Today, I came across Saeghe 鈥 new package manager for PHP. Official site describes it as 鈥渕odern PHP package manager that boosts your code鈥, let鈥檚 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鈥檚 Docker images, but containing only binary file. Yesterday my pull request was merged, and now it鈥檚 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鈥檚 facades implement Gang of Four鈥檚 Facade Pattern, but I think it does not matter at this point - the Laravel team won鈥檛 change naming convention anyway. Naming is not a problem, I see other issues with facades - let鈥檚 look at it! ...

24 August 2022 路 5 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鈥檒l try to keep this article up-to-date with RFCs that will be accepted after publishing. ...

27 May 2022 路 16 min 路 Grzegorz Korba

Code Review: good practices

What makes Code Review process good? What should you do, and what you should not? Let me share with you my experience on this 馃檪 ...

9 July 2022 路 9 min 路 Grzegorz Korba