dacastro4/laravel-gmail
dacastro4/laravel-gmail integrates the Gmail API with Laravel, offering OAuth authentication and a fluent PHP interface to send, read, search, and manage Gmail messages, threads, labels, and attachments without handling raw API requests.
v7.0 is primarily a framework-compatibility release: it adds Laravel 10/11 support and fixes recipient address handling so addresses can be Address objects or strings. The release notes do not call out breaking API changes, but because this is a major version, treat v7 as the supported baseline for Laravel 10+ and verify your app’s OAuth/token flow after upgrading.
Start here:
config/gmail.php.composer require dacastro4/laravel-gmail:^7.0..env.GmailNotifier or GmailInboxService. Keep facade calls out of controllers so you can test, mock, and swap behavior.Address objects, accept either in DTOs/form requests and convert to a consistent type before calling the package if your app depends on one shape.composer update dacastro4/laravel-gmail, clear config cache, and test OAuth, sending, reading, and attachments. If you are below Laravel 10, stay on v6 unless you have verified compatibility.composer show dacastro4/laravel-gmail and pin ^7.0 as needed.Address objects where it previously assumed strings, or vice versa. Add tests for both recipient forms on to, cc, and bcc.From addresses.How can I help you explore Laravel packages today?