- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 183
 
Description
Feature
As php team decided to unbundle imap ext from php-src [1] the development of the ext slowed down.
I would be happy if there could be a polyfill package to drop-in replace the native imap ext functions.
I belive this library already provides most of the coded needed.
Expected behaviour
New repo/composer package that can be required by a php project and imap-ext dependency dropped.
The composer package will be lightweight and will depend on this package (webklex/php-imap), ie. will provided the binding between the native imap ext functions and this package.
Then native functions like imap_open or imap_list will continue to work as if native imap ext is installed. This should be tested by running all native tests [2] againts this polyfill.
Links
[1] https://www.php.net/manual/en/intro.imap.php
[2] https://github.com/php/php-src/tree/php-8.3.23/ext/imap/tests / https://github.com/php/pecl-mail-imap/tree/main/tests