Benjamin Eberlei

Home About Archive Imprint RSS
Home About Archive Imprint
  • Benjamin

    This is a great Composer plugin, providing an API to find all targets of an attribute by hooking into composer autoload generator for zero runtime overhead. This is not something we could add to PHP itself, but in Composer its perfect

    github.com/olvlvl/composer-attribute-collector

    composer-attribute-collector is a plugin for Composer. Its ambition is to provide a convenient and near zero-cost way to retrieve targets of PHP 8 attributes. In order to do that, after the autoloader has been dumped, the plugin collects attribute targets and generates a static file. Later, these targets can be retrieved through a convenient interface. [github.com]
    Visit Link

    Commented 24.01.2023 10:05

  • Benjamin

    You can now find me on any mastodon instance by searching for @beberlei@beberlei.de and get redirected to my @beberlei@phpc.social profile.

    Mastodon on your own domain without hosting a server

    There is one thing I would like my own server for: discoverability. Much like with e-mail, I want folks to have an easy address to find me, and one that I can keep giving out to everyone even if later I switch to a different Mastodon server. A bit like e-mail forwarding to your ISP’s e-mail service. The good news is: you can use your own domain and share it with other folks. It will link to your actual account. [blog.maartenballiauw.be]
    Visit Link

    Commented 18.12.2022 15:32

  • Benjamin

    Interesting article from Paul on a more pragmatic approach towards web application structure and architecture. I was deeply into commands for a while (this blog offers enough evidence), but a more pragmatic approach can bring huge simplifications.

    Contra Noback on Application services

    Matthias Noback's Advanced Web Application Architecture (AWAA from here on) is excellent throughout. ... Having read through the book, I paid special attention to the sections on Application Services. The pattern is a good one, and you should use it, but I find I must offer an alternative approach to the AWAA treatment of the pattern. [paul-m-jones.com]
    Visit Link

    Commented 11.12.2022 10:43

  • Benjamin

    This is often a problem when we want to help customers @Tideways that are using slim docker images. They have a problem with the installation or configuration, but exactly 0 way of debugging it.

    Docker: How To Debug Distroless And Slim Containers

    Slim containers are faster (less stuff to move around) and more secure (fewer places for vulnerabilities to sneak in). However, these benefits of slim containers come at a price - such containers lack (the much-needed at times) exploration and debugging tools. [iximiuz.com]
    Visit Link

    Commented 03.12.2022 18:34

  • Benjamin

    Happy birthday PHP Foundation! @pronskiy summarizes the last year in our first transparency and impact report

    The PHP Foundation: Impact and Transparency Report 2022

    At the end of 2022, The PHP Foundation is a collective of 10 volunteer administrators and 6 part-time paid developers who make nearly half of the commits to PHP language core and extensions. [thephp.foundation]
    Visit Link

    Commented 25.11.2022 20:36

  • Benjamin

    @greg0ire posted this article on migrating from Annotations to Attributes over at the Doctrine blog

    From annotations to attributes

    Last month, we migrated the tests of the ORM from annotations to attributes. Let us look back on what lead to this moment. [www.doctrine-project.org]
    Visit Link

    Commented 18.11.2022 09:36

  • Benjamin

    Running Shopware Platform tests on a Linux Dev-Machine

    Participating in the Shopware Boost Day #4 today I tried the most simple approach to get it running on a Linux developer machine, avoiding the Docker setup.
    Read Full Article

    Commented 11.03.2021 21:53

  • Benjamin

    Free Software, Not Free Support: My Reply Template

    Over the last weeks I have seen a few people tweet or write about the burden of open-source maintainership or being a public person in a programming community.
    Read Full Article

    Commented 26.02.2021 21:53

  • Benjamin

    When to use empty in PHP? I'd say never

    This article contains a list of alternatives to use instead of empty expression.
    Read Full Article

    Commented 19.02.2021 21:53

  • Benjamin

    What to look out for testing PHP8 JIT

    PHP 8 is coming with a Just In Time Compiler (JIT) and people are starting to test it in more detail.
    Read Full Article

    Commented 05.07.2020 21:53

  • Benjamin

    Clean Code and Object Calisthenics Rules I try to Follow

    Read Full Article

    Commented 25.02.2020 21:53

  • Benjamin

    Firegento Hackathon Mainz 2020

    This weekend I attended the the Firegento Hackathon at Netz98 offices in Mainz. This post is a short summary of the work I did this weekend.
    Read Full Article

    Commented 09.02.2020 21:53

  • Benjamin

    A simple, responsive feature per plan table using CSS Grids

    Read Full Article

    Commented 20.08.2019 21:53

  • Benjamin

    P++ is a bad idea for non-technical reasons

    Read Full Article

    Commented 14.08.2019 21:53

  • Benjamin

    The JIT in relation to PHP extensions

    Read Full Article

    Commented 25.03.2019 21:53

  • Benjamin

    Playing with the PHP JIT

    Read Full Article

    Commented 23.03.2019 21:53

  • Benjamin

    Integrate Ansible Vault with 1Password Commandline

    Read Full Article

    Commented 05.01.2019 21:53

  • Benjamin

    Unslacking Tideways Company

    Read Full Article

    Commented 28.10.2018 21:53

  • Benjamin

    How we paid the hidden costs of bootstrapping Tideways

    Read Full Article

    Commented 20.10.2018 21:53

  • Benjamin

    Proofing the Pythagorean theorem and what this means for Domain-Driven Design

    Read Full Article

    Commented 24.09.2018 21:53