Download the PHP package eliksir/sendgrid-subuser-api without Composer
On this page you can find all versions of the php package eliksir/sendgrid-subuser-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eliksir/sendgrid-subuser-api
More information about eliksir/sendgrid-subuser-api
Files in eliksir/sendgrid-subuser-api
Download eliksir/sendgrid-subuser-api
More information about eliksir/sendgrid-subuser-api
Files in eliksir/sendgrid-subuser-api
Vendor eliksir
Package sendgrid-subuser-api
Short Description Library to easily work with the SendGrid Subuser API
License BSD
Homepage https://github.com/eliksir/sendgrid-subuser-api
Package sendgrid-subuser-api
Short Description Library to easily work with the SendGrid Subuser API
License BSD
Homepage https://github.com/eliksir/sendgrid-subuser-api
Please rate this library. Is it a good library?
Informations about the package sendgrid-subuser-api
PHP SendGrid Subuser API
This PHP library makes it easy to work with the SendGrid Subuser API. It was made to scratch our own itch, and as such it currently only implements the parts of the API that we needed. Please feel free to request additional features or send pull requests.
Basic Usage
$sendgrid = new SendGrid\Api("my_username", "my_password");
// Create a new sub user
$user = new SendGrid\SubUser("wanted_username", "password",
"[email protected]", "email.domain.example.com");
$sendgrid->addSubUser($user);
// Retrieve existing sub user
$other = $sendgrid->getSubUser("sub_username");
// Assign IPs to a user
$other->assignIps(array("1.2.3.4"));
See example/example.php
for more examples.
All versions of sendgrid-subuser-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package eliksir/sendgrid-subuser-api contains the following files
Loading the files please wait ....