And why use it
@juliansomesan
WEUC 2024
Milk the cow vs eat the cow right now
Historical PHP major vulnerabilities
Lack of standardization
Zend framework 1
Built as a collection of libraries, not a monolith framework
The modern world is built on standards
Standards for products and services ensure
PSRs are published by the PHP Framework Interoperability Group (PHP-FIG)
In code, PSRs are interfaces that must be implemented
Laminas Project, its components and its Mezzio microframework follow as many PSRs as is possible and feasible
The goal is to implement all PSRs (eventually)
PSR in Mezzio microframework
General PSR: 0, 1, 2, 3, 4 etc.
Repo: https://github.com/php-fig/log
Namespace: Psr\Log
Namespace: Psr\Container
Standards are evolving along with the PHP version
Standards are evolving along with the PHP version
Standards are evolving along with the PHP version
Standards are evolving
Milk the cow vs eat the cow right now
Laminas enterprise-ready PHP components
Mezzio PHP middleware application
Laminas-Mezzio guarantee