Codito.dev https://blog.codito.dev/ Recent content on Codito.dev Codito.dev https://blog.codito.dev/images/codito.png https://blog.codito.dev/images/codito.png Hugo -- gohugo.io en Β© Codito - Grzegorz Korba Fri, 11 Jul 2025 20:30:49 +0000 ASDF: Multiple PHP versions on localhost https://blog.codito.dev/2025/07/asdf-multiple-php-versions-on-localhost/ Fri, 11 Jul 2025 20:30:49 +0000 https://blog.codito.dev/2025/07/asdf-multiple-php-versions-on-localhost/ <p>I prefer working with <a href="https://blog.codito.dev/tags/docker" target="_blank">#Docker</a>, but sometimes it’s required to have <a href="https://blog.codito.dev/tags/php" target="_blank">#PHP</a> locally, and even more - multiple versions of it! There’s a simple way of achieving this: <a href="https://asdf-vm.com" target="_blank">ASDF</a> 😎.</p> Printify: Here We Go! https://blog.codito.dev/2025/07/printify-here-we-go/ Mon, 07 Jul 2025 21:25:36 +0000 https://blog.codito.dev/2025/07/printify-here-we-go/ <p>I am excited to announce that I joined <a href="https://www.usoftware.co/" target="_blank">uSoftware</a> as a Senior Software Engineer and will provide services for <a href="https://printify.com/" target="_blank">Printify</a> in a Developer Enablement team 🀩!</p> Open to work https://blog.codito.dev/2025/05/open-to-work/ Tue, 27 May 2025 09:55:37 +0000 https://blog.codito.dev/2025/05/open-to-work/ <p>After <em>four years at GetResponse</em> it&rsquo;s time for new opportunities! I am looking for a role related to <a href="https://blog.codito.dev/tags/php" target="_blank">#PHP</a>, ideally in Developer Enablement context, but I am also open for alternatives. Read further for more details.</p> Pie: new extension installer for PHP https://blog.codito.dev/2024/11/pie-new-extension-installer-for-php/ Mon, 18 Nov 2024 08:32:26 +0000 https://blog.codito.dev/2024/11/pie-new-extension-installer-for-php/ <p><a href="https://github.com/php/pie" target="_blank">Pie</a>, new extension installer for <a href="https://blog.codito.dev/tags/php" target="_blank">#PHP</a> was released! Let&rsquo;s have a look at it and see what it brings to the table.</p> 40 is a new 20 https://blog.codito.dev/2024/08/40-is-a-new-20/ Thu, 29 Aug 2024 20:40:00 +0000 https://blog.codito.dev/2024/08/40-is-a-new-20/ <p>Four months ago my goal was clear: to feel good with myself again when I hit my 40th birthday. It was true challenge, because last year I barely did any activities, I gained weight and I did not look and feel well. Here&rsquo;s my story I am truly proud of 😎!</p> Messenger: consume all transports on Symfony 6.4 https://blog.codito.dev/2024/04/messenger-consume-all-transports-on-symfony-6.4/ Fri, 19 Apr 2024 21:36:12 +0000 https://blog.codito.dev/2024/04/messenger-consume-all-transports-on-symfony-6.4/ <p>It&rsquo;s hard to believe, but the <code>--all</code> option for the <code>messenger:consume</code> 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&rsquo;s really easy to port this feature to 6.4!</p> Git Rebase: why you should use it https://blog.codito.dev/2024/02/git-rebase-why-you-should-use-it/ Mon, 26 Feb 2024 16:14:39 +0000 https://blog.codito.dev/2024/02/git-rebase-why-you-should-use-it/ <p>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 <em>rebase</em> can help you with this?</p> Final word about `unfinalize` https://blog.codito.dev/2023/10/final-word-about-unfinalize/ Wed, 04 Oct 2023 16:25:10 +0000 https://blog.codito.dev/2023/10/final-word-about-unfinalize/ <p>Recently I&rsquo;ve created <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7343" target="_blank">pull request</a> to <a href="https://blog.codito.dev/tags/php-cs-fixer" target="_blank">#PHP-CS-Fixer</a> that aimed to prevent installing <code>stevebauman/unfinalize</code> along with <code>friendsofphp/php-cs-fixer</code>, effectively blocking Fixer to be installed as a dev dependency for that tool. That escalated quickly πŸ˜…!</p> Dockerfile: runtime definition https://blog.codito.dev/2023/02/dockerfile-runtime-definition/ Tue, 28 Feb 2023 22:26:42 +0100 https://blog.codito.dev/2023/02/dockerfile-runtime-definition/ <p>A <code>Dockerfile</code> 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.</p> Docker for local development https://blog.codito.dev/2023/01/docker-for-local-development/ Mon, 23 Jan 2023 22:54:53 +0100 https://blog.codito.dev/2023/01/docker-for-local-development/ <p>Docker has been in the developers&rsquo; 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.</p> Organising work in GitHub and Gitlab https://blog.codito.dev/2022/12/organising-work-in-github-and-gitlab/ Mon, 05 Dec 2022 00:17:25 +0200 https://blog.codito.dev/2022/12/organising-work-in-github-and-gitlab/ <p>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&rsquo;s 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&rsquo;s take a look at them!</p> Saeghe: new package manager for PHP https://blog.codito.dev/2022/11/saeghe-new-package-manager-for-php/ Thu, 03 Nov 2022 21:45:25 +0100 https://blog.codito.dev/2022/11/saeghe-new-package-manager-for-php/ <p>Today, I came across <a href="https://saeghe.com/" target="_blank">Saeghe</a> β€” new package manager for PHP. Official site describes it as &ldquo;modern PHP package manager that boosts your code&rdquo;, let&rsquo;s check it out!</p> Composer: binary-only Docker images https://blog.codito.dev/2022/11/composer-binary-only-docker-images/ Tue, 01 Nov 2022 22:35:19 +0100 https://blog.codito.dev/2022/11/composer-binary-only-docker-images/ <p>Few months ago <a href="https://twitter.com/_Codito_/status/1544967275513630721" target="_blank">I came with an idea</a> to build Composer&rsquo;s Docker images, but containing only binary file. Yesterday <a href="https://github.com/composer/docker/pull/250" target="_blank">my pull request</a> was merged, and now it&rsquo;s possible to use such images in your own Docker builds as the simplest way to get Composer binary in your own image! 😁</p> Drawbacks behind Laravel Facades https://blog.codito.dev/2022/08/drawbacks-behind-laravel-facades/ Wed, 24 Aug 2022 22:32:36 +0200 https://blog.codito.dev/2022/08/drawbacks-behind-laravel-facades/ <p>There were many discussions if <a href="https://blog.codito.dev/tags/laravel" target="_blank">#Laravel</a>&rsquo;s facades implement Gang of Four&rsquo;s <a href="https://en.wikipedia.org/wiki/Facade_pattern" target="_blank">Facade Pattern</a>, but I think it does not matter at this point - the Laravel team won&rsquo;t change naming convention anyway. Naming is not a problem, I see other issues with facades - let&rsquo;s look at it!</p> Code Review: good practices https://blog.codito.dev/2022/07/code-review-good-practices/ Sat, 09 Jul 2022 18:05:59 +0200 https://blog.codito.dev/2022/07/code-review-good-practices/ <p>What makes Code Review process good? What should you do, and what you should not? Let me share with you my experience on this πŸ™‚</p> Gitlab CI Workflows (PoC) https://blog.codito.dev/2022/07/gitlab-ci-workflows-poc/ Thu, 07 Jul 2022 23:45:19 +0200 https://blog.codito.dev/2022/07/gitlab-ci-workflows-poc/ <p>Today I came across fantastic idea that was <a href="https://gitlab.com/gitlab-org/gitlab/-/merge_requests/91244" target="_blank">implemented as Proof of Concept</a> in Gitlab some time ago: <strong>CI Workflows</strong>! I&rsquo;m pretty excited about it and really hope it will be shipped soon 😁</p> Laravel Pint: a study of ambivalence https://blog.codito.dev/2022/06/laravel-pint-a-study-of-ambivalence/ Tue, 28 Jun 2022 17:44:49 +0200 https://blog.codito.dev/2022/06/laravel-pint-a-study-of-ambivalence/ <p>In recent days <a href="https://github.com/laravel/pint" target="_blank">Laravel Pint</a> 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.</p> PHPStan in virtualised environments https://blog.codito.dev/2022/06/phpstan-in-virtualised-environments/ Mon, 20 Jun 2022 12:18:29 +0200 https://blog.codito.dev/2022/06/phpstan-in-virtualised-environments/ <p><a href="https://github.com/phpstan/phpstan/releases/tag/1.7.15" target="_blank">PHPStan 1.7.15</a> brings small, but helpful feature: support for relative paths in <code>editorUrl</code> for virtualised environments. It&rsquo;s even better when it makes you a repository collaborator - yes, it&rsquo;s my initiative! πŸ₯Ή</p> Referencing sections in Gitlab CI https://blog.codito.dev/2022/06/referencing-sections-in-gitlab-ci/ Wed, 08 Jun 2022 15:59:53 +0200 https://blog.codito.dev/2022/06/referencing-sections-in-gitlab-ci/ <p>Gitlab CI definition might get really complex. In order to reduce redundancy you can use many useful features and syntax sugar, like <code>!reference</code>.</p> A Year at GetResponse https://blog.codito.dev/2022/05/a-year-at-getresponse/ Tue, 31 May 2022 22:09:52 +0200 https://blog.codito.dev/2022/05/a-year-at-getresponse/ <p>I really don&rsquo;t know when it happened, but it&rsquo;s been <strong>a year</strong> since I joined <a href="https://blog.codito.dev/tags/getresponse" target="_blank">#GetResponse</a> as Software Architect 😡 It was an intense and fruitful time worth summing up!</p> New in 🐘 PHP 8.2 https://blog.codito.dev/2022/05/new-in-php-8.2/ Fri, 27 May 2022 09:02:25 +0200 https://blog.codito.dev/2022/05/new-in-php-8.2/ <p>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&rsquo;ll try to keep this article up-to-date with <a href="https://wiki.php.net/rfc#php_82" target="_blank">RFCs</a> that will be accepted after publishing.</p> Reusable code snippets in Hugo https://blog.codito.dev/2022/04/reusable-code-snippets-in-hugo/ Tue, 26 Apr 2022 00:36:07 +0200 https://blog.codito.dev/2022/04/reusable-code-snippets-in-hugo/ <p>I don&rsquo;t like code redundancy, so I wanted to create convention for sharing snippets between language versions of the posts (because code is always in English πŸ˜‰). As it turned out, it&rsquo;s not that obvious in Hugo.</p> Docker Compose: secrets available during build https://blog.codito.dev/2022/04/docker-compose-secrets-available-during-build/ Tue, 19 Apr 2022 20:05:37 +0200 https://blog.codito.dev/2022/04/docker-compose-secrets-available-during-build/ <p>Building images introduces many challenges, one of them is safety of persisted data. How to avoid publishing sensitive data, that should remain private?</p> Rector and ECS: new configurator API https://blog.codito.dev/2022/04/rector-and-ecs-new-configurator-api/ Sun, 17 Apr 2022 22:47:16 +0200 https://blog.codito.dev/2022/04/rector-and-ecs-new-configurator-api/ <p><a href="https://github.com/rectorphp/rector" target="_blank">Rector</a> is a tool for automatic code refactoring. <a href="https://github.com/symplify/easy-coding-standard" target="_blank">ECS</a> allows keeping coding standards in the project. From few days, configuration of both tools is more developer friendly.</p> Hugo: i18n with multi-domain site https://blog.codito.dev/2022/04/hugo-i18n-multi-domain-site/ Thu, 14 Apr 2022 02:52:29 +0200 https://blog.codito.dev/2022/04/hugo-i18n-multi-domain-site/ <p>As I wrote <a href="https://blog.codito.dev/2022/04/hello-world/" >in introduction post</a> - I tend to overthink. I decided to start with absolute minimum, as if against myself. So, how did I manage to design this site?</p> Hello World! https://blog.codito.dev/2022/04/hello-world/ Sun, 10 Apr 2022 01:04:46 +0200 https://blog.codito.dev/2022/04/hello-world/ <p>9 years. It took <em>NINE years</em> to finally create landing page for Codito. Yeah, there <em>was</em> site, but it was always &ldquo;in progress&rdquo;, inviting to come back later.</p> <p>Why I wasn&rsquo;t able to do it through these years? There are several reasons, but the most important is: <em>overthinking</em>! πŸ˜…</p> About https://blog.codito.dev/about/ Tue, 05 Apr 2022 01:40:06 +0200 https://blog.codito.dev/about/ I am open to work! I am self-didacted IT specialist with experience both as developer and team/tech leader. I like clean code, team-discussed solutions, well-fitted technologies, consistency, automating things and up-to-date tools/dependencies. I really enjoy learning new things and am open to new opportunities. In the meantime I try to be good father for my 3 children and good husband for my fantastic wife. My hobbies: skateboarding, music, football, comics.