tedivm/fetch
Fetch is a PHP library for reading email and attachments via IMAP and POP. Connect to a mail server, authenticate, list messages, and access subjects, bodies, and attachments with a simple API (requires the PHP IMAP extension).
tedivm/fetch package (v0.7.2) remains aligned with lightweight IMAP-based email retrieval for Laravel applications, particularly for inbound email processing (e.g., notifications, CRM syncs, or workflow automation). The package’s focus on minimalism and IMAP protocol adherence continues to make it a strong fit for architectures where:
Mail facade by enabling inbound email processing, filling a gap where alternatives like spatie/laravel-mail focus solely on sending.composer require tedivm/fetch:^0.7.2 command remains safe for integration.league/oauth2-client).spatie/laravel-activitylog) are still required for production-grade implementations.Mockery or tools like mailhog)..env, secrets manager)?league/oauth2-imap or a custom solution be preferable?league/oauth2-imap (for OAuth2) or a Laravel-specific wrapper (e.g., spatie/laravel-imap)?league/oauth2-client (if OAuth2 is required for IMAP auth).spatie/laravel-activitylog (for auditing email fetches).spatie/laravel-queue-scheduler (for cron-based email processing).mockery/mockery (for testing IMAP interactions).guzzlehttp/guzzle or symfony/process as alternatives if the package’s maintenance risk becomes prohibitive.composer require tedivm/fetch:^0.7.2.Connection to the service container (unchanged).emails table (unchanged).Fetch\Message (unchanged).ssl, tls, and starttls).php-imap extension).composer.json to avoid unintended updates.league/oauth2-client (if used) separately.How can I help you explore Laravel packages today?