foodticket / laravel-bird-driver
Bird mail driver for Laravel 9+
Installs: 4 521
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.2
- illuminate/mail: ^9.0||^10.0||^11.0
- illuminate/notifications: ^9.0||^10.0||^11.0
- illuminate/support: ^9.0||^10.0||^11.0
- spatie/laravel-data: ^3.10||^4.7
Requires (Dev)
- fakerphp/faker: ^1.23
- illuminate/container: ^9.0||^10.0||^11.0
- illuminate/filesystem: ^9.0||^10.0||^11.0
- larastan/larastan: ^2.9
- laravel/helpers: ^1.2
- laravel/pint: ^1.15
- mockery/mockery: ^1.6
- phpunit/phpunit: ^9
- rector/rector: *
- vlucas/phpdotenv: ^5.4.1
This package is auto-updated.
Last update: 2025-03-11 10:44:55 UTC
README
A Mail Driver with support for Bird Web API, using the original Laravel API. This library extends the original Laravel classes, so it uses exactly the same methods.
To use this package required your Bird Access Key. Please make it Here.
Compatibility
Laravel | laravel-bird-driver |
---|---|
9, 10, 11 | ^4.0 |
Install (for Laravel)
Add the package to your composer.json and run composer update.
"require": { "foodticket/laravel-bird-driver": "^1.0" },
or installed with composer
$ composer require foodticket/laravel-bird-driver
Configure
.env
MAIL_DRIVER=bird BIRD_API_ACCESS_KEY='YOUR_BIRD_ACCESS_KEY' BIRD_API_WORKSPACE_ID='YOUR_WORKSPACE_ID' BIRD_API_CHANNEL_ID='MAIL_CHANNEL_ID' # Optional: for 7+ laravel projects MAIL_MAILER=bird
config/services.php (not required from Laravel 9+)
'bird' => [ 'mail' => [ 'access_key' => env('BIRD_API_ACCESS_KEY'), 'workspace_id' => env('BIRD_API_WORKSPACE_ID'), 'channel_id' => env('BIRD_API_CHANNEL_ID'), ], ],
config/mail.php
'mailers' => [ 'bird' => [ 'transport' => 'bird', ], ],