Download the PHP
package phpfui/php-imap without Composer
On this page you can find all versions of the php package
phpfui/php-imap. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor phpfui Package php-imap Short Description PHP IMAP with OAUTH2 for drop in replacement in PHP 8.4 License
GPL-3.0-or-later Homepage https://github.com/phpfui/php-imap2
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
A drop in PHP replacement for the imap functions removed from PHP 8.4. If imap functions are detected, then the built in functions are used. So you can install this on PHP 8.2 or 8.3 and when you upgrade to PHP 8.4, it will continue to work.
Usage
This package is based on javanile/php-imap2
It was updated with arbor-education/php-imap2, as that seems to be the most maintained fork, as jaavanile/php-imap2 seems abandon. Since this a just a wrapper around the imap_ functions, it can easily be updated to a better IMAP library if needed.
Unimplemented functions
The following functions were not implemented in the original source:
function imap_get_quota(IMAP\Connection $imap, $quotaRoot)
function imap_set_quota(IMAP\Connection $imap,string $quota_root): array|false
function imap_get_quotaroot(IMAP\Connection $imap, $mailbox)
function imap_getacl(IMAP\Connection $imap, $mailbox)
Function imap_setacl(IMAP\Connection $imap, $mailbox, $userId, $rights)
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package phpfui/php-imap contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.