PDO has no interface after 20 years - does it deserve a PSR or an RFC?
Aura.Sql, lazypdo, and Doctrine DBAL have all independently worked around the same gap. I wrote about what a minimal standard PdoInterface could look like, and the two realistic paths forward: a PHP-FIG PSR or a language-level RFC (similar to DateTimeInterface in PHP 5.5).
Would be curious to hear from library maintainers especially: does the absence of a standard interface affect your design decisions?
https://maximegosselin.com/posts/in-search-of-the-missing-pdo-interface/
[link] [comments]