home.social

#mezzio — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mezzio, aggregated by home.social.

fetched live
  1. Many devs use Laminas and Mezzio, but unfortunately few contribute behind the scenes. We have stepped up, so you should too!
    #PHP #Mezzio
    getlaminas.org/blog/2026-01-14

  2. Many devs use Laminas and Mezzio, but unfortunately few contribute behind the scenes. We have stepped up, so you should too!
    #PHP #Mezzio
    getlaminas.org/blog/2026-01-14

  3. @shochdoerfer @bitexpert At #laminas and #mezzio, we set `config.platform.php` to an imaginary maximum patch version of the minimum supported version of php, such as `8.2.99`, so regardless of the PHP version renovate uses, composer will always resolve the correct dependencies. Possibly a different solution, also potentially solving a different problem!

  4. @shochdoerfer @bitexpert At #laminas and #mezzio, we set `config.platform.php` to an imaginary maximum patch version of the minimum supported version of php, such as `8.2.99`, so regardless of the PHP version renovate uses, composer will always resolve the correct dependencies. Possibly a different solution, also potentially solving a different problem!

  5. @josh

    That’s a valid choice, if latency is already “good enough.”

    But runtime cost doesn’t magically disappear behind a CDN.

    Every request still has a cost, and sooner or later one slow response will lose you (or your clients) a customer.

    #Laravel absolutely wins on dev velocity.

    Anyone with patience and #YouTube (or #AI) can ship something fast, often with little understanding of the framework or even the #PHP language.

    #Mezzio wins when runtime, scale, and longevity actually matter.

  6. @lo_fye

    #Mezzio’s ecosystem is the PHP-FIG / PSR ecosystem, not a framework-specific one.

    You don’t get:

    one blessed ORM
    one queue system
    one auth package
    one “#Laravel way”
    vendor lock-in

    You do get:

    PSR-7/15/17 (HTTP)
    PSR-11 (DI)
    PSR-14 (Events)
    PSR-3 (logging)
    PSR-6/16 (cache)
    PSR-18 (HTTP client)
    PSR-20 (clock)

    Which means you can plug in:

    Doctrine or Eloquent or PDO
    Laminas Cache or Symfony Cache
    Monolog or anything PSR-3
    Any PSR-15 middleware

    Different priorities

  7. @lo_fye

    #Mezzio’s ecosystem is the PHP-FIG / PSR ecosystem, not a framework-specific one.

    You don’t get:

    one blessed ORM
    one queue system
    one auth package
    one “#Laravel way”
    vendor lock-in

    You do get:

    PSR-7/15/17 (HTTP)
    PSR-11 (DI)
    PSR-14 (Events)
    PSR-3 (logging)
    PSR-6/16 (cache)
    PSR-18 (HTTP client)
    PSR-20 (clock)

    Which means you can plug in:

    Doctrine or Eloquent or PDO
    Laminas Cache or Symfony Cache
    Monolog or anything PSR-3
    Any PSR-15 middleware

    Different priorities

  8. Laravel avg response: ~250ms
    Mezzio avg response: ~45ms

    Same app. Same 12 routes. Routing + Response emission.

    Laravel: 12 invokable controllers
    Mezzio: 12 PSR-15 handlers

    #Laravel optimizes dev time.

    #Mezzio optimizes runtime.

    - Minimal bootstrap.
    - PSR-15 request pipeline, no magic.
    - No ORM unless you add one.
    - No global helpers, no facade resolution.
    - Handlers are plain objects with predictable lifecycles.

    Framework choice = real latency cost.

    #PHP

  9. Laravel avg response: ~250ms
    Mezzio avg response: ~45ms

    Same app. Same 12 routes. routing + response emission.

    Laravel: 12 invokable controllers
    Mezzio: 12 PSR-15 handlers

    Laravel optimizes dev time.

    #Mezzio optimizes runtime.

    - Minimal bootstrap.
    - PSR-15 request pipeline, no magic.
    - No ORM unless you add one.
    - No global helpers, no facade resolution.
    - Handlers are plain objects with predictable lifecycles.

    Framework choice = real latency cost.

  10. Create modules in seconds with Dotkernel DotMaker. It handles the file consistency and you can focus on your code.
    #PHP #mezzio
    shorturl.at/kBm3i

  11. PHP DebugBar + REPL module for Mezzio Framework

    For real-time debugging, profiling, and experimenting with your app's internals.

    Built with:

    🔹 PHP DebugBar (php-debugbar/php-debugbar)
    🔹 Plates (thephpleague/plates)
    🔹 PsySH (bobthecow/psysh)]

    #PHP #Mezzio #DebugBar #REPL #Debugging #DeveloperTools #PHP8 #Frameworks

  12. @julian `netglue/laminas-messenger` doesn't ship any middleware, or anything #Mezzio specific really - it's just factories, config and wiring for #Laminas ServiceManager DI really…

  13. We are thrilled to announce our partnership with TagOnTrack Inc. to overview the migration of their outdated platform. It's an opportunity to implement a complex code migration using the Mezzio microframework and document the steps for the PHP community
    #PHP #Laminas #mezzio
    apidemia.com/press-release/tag

  14. Our Headless Platform proves once more that it can handle complex setups for any project. The Core module has been recently introduced as a central location for the root features on a project, but when it's turned into a shared submodule, it really shines.
    #PHP #middleware #mezzio
    dotkernel.com/headless-platfor

  15. Laminas and Mezzio projects' website got a new facelift today: getlaminas.org

    Thanks to all the contributors who helped make this happen!

    #laminas #mezzio #php

  16. Laminas and Mezzio projects' website got a new facelift today: getlaminas.org

    Thanks to all the contributors who helped make this happen!

    #laminas #mezzio #php

  17. After years of faithfully dispatching controllers, routing requests and juggling service managers, #Laminas MVC is finally eligible for the senior citizen discount 🧓🏖️.

    getlaminas.org/blog/2025-06-06

    And the next generation carries on:

    #Mezzio—leaner, faster, and fluent in the modern dialect of #PHP —grew up around PSRs on the other side of the stack and now runs everything through middleware like it's second nature.

    docs.mezzio.dev/mezzio/

  18. Laminas is ending support for their MVC. How would you handle it?
    With Laminas MVC taken out of active development, what is going to happen with existing projects? Do you think it's ok to pull support and promote another architecture or must MVC be supported forever?
    #PHP #Laminas #mezzio
    getlaminas.org/blog/2025-06-06

  19. Using a Headless Platform means you don't have to throw away your frontends. Instead, you create them in the language of your choice and use the responses from the platform's API. Keeping things decoupled offers many advantages.

    #PHP #middleware #mezzio
    dotkernel.com/headless-platfor

  20. @julian Agree so far, with one difference: I like to have the verb after the resource name, like „ResourceNameGetHandler“ and „ResourceNamePostHandler“ — because the Resource usually is what we are working on and thus we search for, and this way, class names show up nicely sorted.
    #PHP #PSR15 #mezzio #Laminas

  21. Enforcing naming conventions and patterns from respected members of the PHP community leads to cleaner code. This is a fact and will always be true.
    #PSR15 #mezzio #Laminas #PHP
    dotkernel.com/design-pattern/n

  22. Enforcing naming conventions and patterns from respected members of the PHP community leads to cleaner code. This is a fact and will always be true.
    #PSR15 #mezzio #Laminas #PHP
    dotkernel.com/design-pattern/n

  23. @mwop All this sort of stuff has me wondering if we should start mirroring #Mezzio and #Laminas stuff to codeberg…

  24. @mwop All this sort of stuff has me wondering if we should start mirroring #Mezzio and #Laminas stuff to codeberg…

  25. Finally, we are getting the step-by-step tutorial we always needed. Using Mezzio and Laminas components is a sure-fire way to build smart applications that stand the test of time.
    #PHP #Laminas #Mezzio
    getlaminas.org/blog/2025-01-30

  26. @rob I know where you're coming from - I'm failing at this and currently upgrading #Mezzio libs to Psalm v6 😬

  27. Step by step guide to setup a PHP coding environment with Composer, git and MariaDB in Windows Subsystem for Linux (WSL2) and learn how to use it effectively.
    #laminas #mezzio #PHP #AlmaLinux #MariaDB
    dotkernel.com/php-development/

  28. @adam_turcsan @pwaring #Mezzio is great for implementing the strangler pattern too 👍

  29. One thing I like about the Laminas components is how easy it is to inject your own customisation into them.

    I needed to alter the functionality of the OAuth2Adapter in the mezzio-authentication-oauth2 OAuth2 server component and it was as simple as a DI configuration and writing a class to an interface.

    #php #laminas #mezzio

  30. What is the recommended max number of database queries per HTTP request, assuming fully optimized queries and correctly indexed database columns? #PHP #Mezzio #Laminas #PDO #PostgreSQL #MySQL