abkrim / sendgrid
Interface for use Sengrid API with Laravel
0.1.7
2022-01-28 18:55 UTC
Requires
- php: >=8.0
- illuminate/support: ~7|~8
- laravel/tinker: ^2.7
- sendgrid/sendgrid: ~7
- spatie/laravel-ray: ^1.29
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.5
README
Sendgrid is gateway that improves the use of the official Sendgrid library for PHP.
Installation
Install via composer
composer require abkrim/sendgrid
Publish package assets
php artisan vendor:publish --provider="Abkrim\Sendgrid\ServiceProvider"
Usage
Requirements for testing
Testing is not mocked.
For the tests you need:
- A sendgrid account
- A registered domain and that you can configure your DNS
- Register it in sendgrid
- Domain or a subdomain for test link branding. Configure in .env.testing with SENDGRID_DOMAIN_AUTH_BRANDING
- Domain or a subdomain for test Authentication Configure in .env.testing with SENDGRID_DOMAIN_AUT
Security
If you discover any security related issues, please email abdelkarim.mateos@castris.com instead of using the issue tracker.