directorytree/imapengine
IMAPEngine is a Laravel-friendly PHP package for working with IMAP mailboxes. Connect to servers, list folders, fetch messages and attachments, search and manage mail, and handle common IMAP operations through a clean, high-level API.
poll() or idle() for live updates (e.g., Slack/Gmail-like inboxes).bulkQuery() for flagging, moving, or deleting messages efficiently (e.g., archiving, spam filtering).Content-Disposition support (e.g., document management systems).SORT) and criteria like LARGER/SMALLER for performance-critical queries (e.g., large mailboxes).RFC822.SIZE, Message-ID) for legal or audit purposes.illuminate/collections, symfony/mime) or PHP 8.1+ projects needing IMAP without extensions.Adopt if:
In-Reply-To, UTF-8 decoding, or injection protection).Look elsewhere if:
php-imap or symfony/mailer may suffice.For Executives: "This package lets us build email-powered features—like real-time notifications, bulk email processing, or attachment handling—without relying on the PHP IMAP extension, which is often blocked or unsupported in shared environments. It’s battle-tested (500+ stars, active maintenance), reduces development time by 60% compared to custom IMAP code, and enables scalable solutions like live email sync or compliance-ready archiving. For example, we could launch a ‘smart inbox’ feature in 3 sprints instead of 6, while cutting server costs by avoiding extension dependencies."
For Engineering: *"ImapEngine is a drop-in IMAP client that handles:
sent on/before), and size filters (LARGER/SMALLER).For Security/Compliance Teams: *"This library mitigates risks by:
Content-Disposition, Message-ID).
It’s a safer alternative to raw IMAP extensions, which often require manual sanitization."How can I help you explore Laravel packages today?