lshin / sendgrid-newsletter by lshin

Laravel 4 Wrapper for the Sendgrid Newsletter API Client
6,484
0
2
Package Data
Maintainer Username: lshin
Maintainer Contact: leo@sh1n.com (Leo Shin)
Package Create Date: 2014-10-29
Package Last Update: 2014-10-30
Language: PHP
License: MIT
Last Refreshed: 2024-04-27 03:07:55
Package Statistics
Total Downloads: 6,484
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

sendgrid-newsletter

Laravel 4 wrapper of the sendgrid newsletter php library.

  • Author: Leo Shin
  • Version: 0.9.0

Installation

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' => ''
    );

Documentation

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