- php v7.0+
$lionDesk = new Skosm\LionDesk\LionDesk('API_KEY', 'USER_KEY');
$result = $lionDesk->echo('message');
Or using method chaining
$lionDesk = new Skosm\LionDesk\LionDesk();
$result = $lionDesk
->setApiKey('API_KEY')
->setUserKey('USER_KEY')
->newSubmission([
'firstname' => 'User',
'lastname' => 'Name',
'email' => '[email protected]'
]);