Skip to content

Repository files navigation

Install:

composer require cleantalk/remote-calls

Using:

<?php$storage_handler = new \Cleantalk\Custom\StorageHandler\StorageHandler();
$api_key = 'your_api_key';
$remote_calls = new \Cleantalk\Common\RemoteCalls\RemoteCalls($api_key, $storage_handler);
if ( $remote_calls::check() ) {
try {
die $remote_calls->process();
} catch ( \Cleantalk\Common\RemoteCalls\Exceptions\RemoteCallsException$exception ) {
// Do logging here
die 'FAIL ' . json_encode(array('error' => $exception->getMessage()))
}
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages