PHP code example of skosm / liondesk
1. Go to this page and download the library: Download skosm/liondesk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
skosm / liondesk example snippets
$lionDesk = new Skosm\LionDesk\LionDesk('API_KEY', 'USER_KEY');
$result = $lionDesk->echo('message');
$lionDesk = new Skosm\LionDesk\LionDesk();
$result = $lionDesk
->setApiKey('API_KEY')
->setUserKey('USER_KEY')
->newSubmission([
'firstname' => 'User',
'lastname' => 'Name',
'email' => '[email protected]'
]);