Installing Laravel Maily pulls theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/yugo412/laravel-maily/llms.txt
Use this file to discover all available pages before exploring further.
yugo/laravel-maily package into your project via Composer and, thanks to Laravel’s package auto-discovery mechanism, immediately registers MailyServiceProvider — the class that wires the maily transport into Laravel’s mail stack. In the vast majority of projects you will not need to touch config/app.php or write any bootstrapping code; the provider is discovered and booted automatically on the next request.
Prerequisites
Before installing, make sure your environment satisfies the following requirements:- PHP 8.2 or higher
- Laravel 11 or newer
Install via Composer
Require the package from your project root:illuminate/mail, illuminate/support, and symfony/mailer) and update your composer.lock file.
Auto-discovery
Laravel reads theextra.laravel.providers array from every installed package’s composer.json and registers those providers automatically — no manual step required. Laravel Maily declares its provider there:
composer require completes, Yugo\Maily\MailyServiceProvider is active in your application. You can verify this by running php artisan about and checking the loaded providers list.
Manual registration (optional)
If your project has auto-discovery disabled (via thedont-discover key in your own composer.json), add the service provider to the providers array in config/app.php: