Laravel 4 Wrapper for the Sendgrid Newsletter API Client
lshin/sendgrid-newsletter is a Laravel package for laravel 4 wrapper for the sendgrid newsletter api client.
It currently has 0 GitHub stars and 6.484 downloads on Packagist (latest version v0.90).
Install it with composer require lshin/sendgrid-newsletter.
Discover more Laravel packages by lshin
or browse all Laravel packages to compare alternatives.
Last updated
Laravel 4 wrapper of the sendgrid newsletter php library.
To install the API add this to your composer.json:
"require": {
"neoseeker/sendgridphp": "dev-master",
"lshin/sendgrid-newsletter": "0.*"
}
..then run composer update. (If you have problems getting that to work, try running php artisan dump-autoload followed by composer update again).
Register the service provider in app/config/app.php in the providers array:
'providers' => array(
//...
'Lshin\SendgridNewsletter\SendgridNewsletterServiceProvider',
)
Then create the config file app/config/sendgridnewsletter.php based on the config file in the package.
<?php
return array(
/**
* Sendgrid API
*/
'api_user' => '',
'api_key' => ''
);
Now, you can access the SendgridNewsletter API by calling the SendgridNewsletter:: facade.
For more information on the available commands, see https://github.com/Neoseeker/SendGrid-PHP-Library