A PHP library for sending transactional emails using SendGrid
To include this library in a PHP project add the following line to the project's
composer.json
file in the require
section:
{
"require": {
"serato/serato-sendgrid": "dev-master"
}
}
See Packagist for a list of all available versions.
This library requires PHP 7.1 or greater.
Please ensure code adheres to the PHP-FIG PSR-2 Coding Style Guide
Use PHP_CodeSniffer to validate your code against coding standards:
$ ./vendor/bin/phpcs
Use PHPStan for static code analysis:
$ vendor/bin/phpstan analyse
Configuration for PHPUnit is defined within phpunit.xml.
To run tests:
$ php vendor/bin/phpunit