A minimal library that defines primitive building blocks of PHP code.

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. common

    A minimal library that defines primitive building blocks of PHP code. (by jungi-php)

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
  3. http-client-contracts

    A set of HTTP client abstractions extracted out of the Symfony components

    I have to disagree. To me, declaring a method via the @method tag (in rare cases) is equivalent to actually declaring it in a class/interface. Due to PHP limitations, the obvious lack of generics, and what I wrote earlier, I simply couldn't do it any other way. Take eg. HttpClientInterface from symfony/http-client-contracts or InputInterface from symfony/console, they had different reasons but the outcome is the same.

  4. console

    Eases the creation of beautiful and testable command line interfaces

    I have to disagree. To me, declaring a method via the @method tag (in rare cases) is equivalent to actually declaring it in a class/interface. Due to PHP limitations, the obvious lack of generics, and what I wrote earlier, I simply couldn't do it any other way. Take eg. HttpClientInterface from symfony/http-client-contracts or InputInterface from symfony/console, they had different reasons but the outcome is the same.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The "never" Type in PHP

    1 project | dev.to | 19 Jun 2025
  • Adding dd() in Wordpress development

    1 project | dev.to | 27 May 2024
  • 💖 Write Future-Compatible PHP Code with Symfony Polyfills

    1 project | dev.to | 20 May 2024
  • Reading bundle configuration inside Symfony Compiler Passes

    1 project | dev.to | 4 May 2023
  • Laravel TrustProxies with multiple proxies

    2 projects | /r/PHPhelp | 22 Mar 2023