opcodesio/mail-parser
Simple, fast PHP 8+ email/MIME parser with a clean API—no mailparse extension required. Parse .eml strings/files, read headers (From/To/Subject/Date/size), and extract HTML/text bodies, parts, and attachments.
Architecture fit
Integration feasibility
.eml files, extracting headers/attachments). The package’s stateless design allows seamless integration with Laravel’s request handling (e.g., file uploads, webhooks) or queue workers (e.g., parsing emails in background jobs).Key questions
message/rfc822, text/calendar)?Zend\Mail\Message.spatie/laravel-mail) or cloud-based solutions (e.g., SendGrid Parse API) for comparison?.eml test fixtures covering edge cases (e.g., empty attachments, malformed boundaries, non-ASCII headers)?mailparse as a baseline)?Stack fit
.eml files uploaded via HTTP requests (e.g., Request->file('eml')).parseEmailJob in Laravel Queues).From or Subject exist).Migration path
Message::fromString() or Message::fromFile() methods in a Laravel controller or command.Email or SupportTicket models).Compatibility
message/rfc822, text/calendar).Sequencing
Maintenance
Support
Scaling
Ramp-up
.eml test fixtures covering:
How can I help you explore Laravel packages today?