kamva / sendinblue-api-php
SendinBlue API Wrapper
dev-master
2017-01-15 12:45 UTC
Requires
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-02-01 21:46:43 UTC
README
A wrapper for sendinblue api (Beta)
Current features
- Campaigns
Installation
Add moloquent package to your compoer.json
:
"require": { "kamva/sendinblue-api-php": "dev-master" }
And then do a composer update
.
Or run the following command on your console:
composer require kamva/sendinblue-api-php
Usage
Campaigns
For adding a user to campaign list, do the following.
$data = [ 'email' => 'john.doe@mail.com', 'attributes' => [ 'name' => 'John Doe', 'age' => 34 ], 'listid' => [21] ]; $client = new Kamva\SendinBlue\Client(); $client->campaigns()->users()->createOrUpdate($data);