15/01
2017
dev-master
9999999-devSendinBlue API Wrapper
MIT
The Requires
The Development Requires
by Behzad Shabani
Wallogit.com
2017 © Pedro Peláez
SendinBlue API Wrapper
A wrapper for sendinblue api (Beta), (*1)
Add moloquent package to your compoer.json:, (*2)
"require": {
"kamva/sendinblue-api-php": "dev-master"
}
And then do a composer update., (*3)
Or run the following command on your console:, (*4)
composer require kamva/sendinblue-api-php
For adding a user to campaign list, do the following., (*5)
$data = [
'email' => 'john.doe@mail.com',
'attributes' => [
'name' => 'John Doe',
'age' => 34
],
'listid' => [21]
];
$client = new Kamva\SendinBlue\Client();
$client->campaigns()->users()->createOrUpdate($data);
فروشگاه ساز, (*6)
SendinBlue API Wrapper
MIT