knyk/mailbox-bundle
knyk/mailbox-bundle is a Symfony bundle for PHP applications that packages mailbox-related configuration and services, helping you integrate mailbox handling with less boilerplate. It keeps mailbox setup organized and makes email workflow code easier to maintain.
sales@ alias, invoice/receipt ingestion, vendor document intake, bounce/abuse triage, and email-to-record creation. A spike here answers "do users actually forward us things?" before anyone commits to a real inbound-email platform.knyk/mailbox-bundle) with no Laravel service provider, no facade, no config publishing. In a Laravel codebase it contributes nothing you wouldn't get from composer require php-imap/php-imap directly. It should not appear in a Laravel dependency review as a candidate.ext-imap, which was unbundled from PHP core in 8.4, and on IMAP Basic Auth, which Microsoft disabled for Exchange Online in 2022 and which Google is steadily constraining. Any product bet on password-based IMAP polling has a shrinking runway.Consider it (narrowly):
ext-imap compiled in, and you want the mailbox wired as a container service in under an hour.Look elsewhere when:
webklex/php-imap (pure PHP, no ext-imap, actively maintained, Laravel-friendly) or a provider SDK. This bundle is the wrong ecosystem.ext-imap dependency is the first thing to break.To executives: We evaluated a package for reading inbound email into the product and are recommending against adopting it. It's a small, unmaintained Symfony wrapper — zero stars, zero downstream users, no recent activity — around a library that depends on a PHP extension that was removed from core in 8.4 and on a mail authentication method Microsoft retired in 2022. Adopting it would mean inheriting a component nobody patches, on an integration path our customers' email providers are actively shutting down. The capability it points at — turning shared inboxes into structured records — is still worth validating, and we can do that in roughly a one-day spike using a maintained library or an inbound-email webhook provider. The decision ask is a small spike budget, not a dependency commitment.
To engineering: Treat this as a pattern reference, not a dependency. It shows the minimal wiring for a mailbox service; it does not give us a Laravel service provider, OAuth, webhook delivery, retries, or multi-mailbox support, and it will not survive a PHP upgrade. If we build inbound email, we should either (a) use webklex/php-imap for pure-PHP IMAP polling, or better (b) use an inbound-email webhook provider and skip polling entirely. Recommendation: do not add knyk/mailbox-bundle to composer.json; run a timeboxed spike on the provider route and bring back a build-vs-buy comparison. Flag the ext-imap sunset and Basic Auth deprecation in the spike write-up so the choice is documented rather than rediscovered later.
How can I help you explore Laravel packages today?