sergiors/rdstation

RDStation Integration

dev-master 2017-12-31 20:47 UTC

This package is not auto-updated.

Last update: 2024-12-22 05:39:43 UTC


README

How to use

use Sergiors\RDStation\Credentials;
use Sergiors\RDStation\RDStation;
use Sergiors\RDStation\Lead;

$credentials = new Credentials(/* token */, /* private_token */);
$rdStation = new RDStation($credentials, $request);
$lead = new Lead($rdStation, 'RDStation Integration Github', 'jimi@hendrix.com');
$lead->addParam('name', 'Jimi Hendrix');
$lead->addTag('fender')->addTag('marshall')->addTag('fuzzface');

$lead->trigger();

License

MIT