PHP code example of romeritocl / cachet-api-client
1. Go to this page and download the library: Download romeritocl/cachet-api-client 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/ */
romeritocl / cachet-api-client example snippets
composer
use DevoraliveCachet\Client;
$endpoint = 'https://demo.cachethq.io/api/v1/';
$token = '9yMHsdioQosnyVK4iCVR';
$client = new Client($endpoint, $token);
PHP Fatal error: Uncaught exception 'Doctrine\Common\Annotations\AnnotationException' with message '[Semantical Error] The annotation "@JMS\Serializer\Annotation\Type" in property (...) does not exist, or could not be auto-loaded.'