inicial / rdstation-php
RD Station API Integration (PHP)
Fund package maintenance!
fabianocouto
Installs: 10 474
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 6
Open Issues: 1
Requires
- php: >=5.3
- ext-curl: *
- ext-json: *
README
Description
Integration class to create and update leads on RD Station.
With this class you can
- Send a new lead/conversion
- Update lead
- Send lead tags
- Update lead stage
- Update lead status
Depencies
- Web server with PHP support
- PHP extension CURL enabled
Composer
$ composer require inicial/rdstation-php
Usage
<?php require_once(dirname(__FILE__) . '/init.php'); $rdStation = new \RDStation\RDStation('LEAD_EMAIL'); $rdStation->setApiToken('RD_TOKEN'); $rdStation->setLeadData('identifier', 'event-identifier'); $rdStation->setLeadData('name', 'Fabiano Couto'); // You can set all RD Station default fields and add custom fields as you want // Read more about on http://ajuda.rdstation.com.br/hc/pt-br // After setup all data, just call a method to make request to RD Station API // Send a new lead/conversion $rdStation->sendLead(); ?>
Note
You can find more info about usage on class source code.
Report any bug or suggest changes using git issues.