sergiors / rdstation
RDStation Integration
dev-master
2017-12-31 20:47 UTC
Requires
- php: ^7.1
- guzzlehttp/guzzle: ^6.3
- psr/http-message: ^1.0
- respect/validation: ^1.1
- sergiors/prelude: dev-master
Requires (Dev)
- bmitch/churn-php: ^0.2.0
- fzaninotto/faker: ^1.7
- phpunit/phpunit: ^6.3
- zendframework/zend-diactoros: ^1.6
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