phalcon / cphalcon

High performance, full-stack PHP framework delivered as a C extension.
https://phalcon.io
BSD 3-Clause "New" or "Revised" License
10.78k stars 1.96k forks source link

[NFR]: Why not implement psr-7 or psr-17 for Http? #16417

Closed MsZhu closed 1 year ago

MsZhu commented 1 year ago

Why not implement psr-7 or psr-17 for Http?..........

niden commented 1 year ago

Because you will need to load the PSR extension before Phalcon. Since we are supporting PHP 7.4+, developers will need to load a different version of the PSR extension, since that has evolved along with the interfaces for each PHP version.

More explanations here: https://blog.phalcon.io/post/status-update-psr-packagecloud

Thanks.