whisperbuddy / whisperbuddy-php
PHP library for whisperbuddy.com's Lead and Listener
1.0.5
2016-04-08 09:07 UTC
Requires
- php: >=5.4.0
- curl/curl: ^1.3
- firebase/php-jwt: ^3.0
This package is not auto-updated.
Last update: 2025-01-18 20:03:08 UTC
README
- Install
You need php 5.4 or later
composer require whisperbuddy/whisperbuddy-php
- Example Usage
<?php require(__DIR__ . 'path/to/vendor/autoload.php'); use whisperbuddy\WhisperBuddy; $key = "NC8XanSyKcyU8PtUOnl-xxxxxxxxxx"; $secret = "mE7sGcH-zQc_-KF6xxxxxxxxxxxxxx"; $whisperbuddy = new WhisperBuddy($key,$secret); // Create new Lead $data = [ 'name'=> 'John Smith' , 'email'=>'johnsmith@gmail.com']; $response = $whisperbuddy->createLead($data); var_dump($response); // Create Listener $listener = $whisperbuddy->listen(); var_dump($listener);