lasso/mail-parser-bundle
A Symfony bundle for parsing incoming email messages into structured data, handling headers, bodies, and attachments so applications can reliably process mail without writing low-level MIME parsing code.
Adoption criteria — all of these must be true, and in practice they rarely are:
Look elsewhere when:
composer require.zbateson/mail-mime-parser (actively maintained MIME parser), webklex/php-imap (Laravel-native IMAP + parsing), or Symfony's own Mailer/Mime components if you're in that ecosystem.To executives: Inbound email parsing looks like a build-vs-buy decision, but it's really a "don't build, don't buy this" decision. The specific package in front of us is a 2014-era Symfony wrapper over end-of-life Zend libraries, with no maintenance, no community, and an LGPL license that adds legal overhead. We should not adopt it. The useful output of evaluating it is a validated scope for the feature and a recommendation to use a maintained open-source parser — days of integration work instead of weeks of building and a permanent maintenance tail we'd own forever.
To engineering: Treat this repo as a reference implementation and a checklist, not a dependency. It shows the shape of the problem — MIME multipart traversal, header normalization, attachment extraction — but it's a Symfony bundle on EOL Zend components with no release since 2014, so adopting it means pinning old PHP and owning the security surface ourselves. Recommended path: zbateson/mail-mime-parser for parsing, webklex/php-imap if we need mailbox retrieval, wrapped behind our own MailParser interface so the library is a swappable detail. Budget real time for hardening (malformed input, attachment size limits, encoding edge cases) — that's where the effort actually lives.
How can I help you explore Laravel packages today?