octavio / cymatic-php-api
cymatic client api
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/octavio/cymatic-php-api
Requires
- guzzlehttp/guzzle: ^7.3
This package is not auto-updated.
Last update: 2025-12-19 12:37:50 UTC
README
Cymatic client php to verify jwt
Installation
This project using composer.
$ composer require cymatic/php-api:dev-master
Usage
<?php require 'vendor/autoload.php'; use CymaticApi\Cymatic; $settings = [ "tenant" => [ "name" => "cymatic", "clientId" => "xxxxxx-xxxxxxx-xxxxxxxx-xxxxxxx-xxxxxx", "secret" => "xxxxxx-xxxxxxx-xxxxxxxx-xxxxxxx-xxxxxx", ] ]; $cymatic = new Cymatic($settings); try { $payload = [ "token" => "eyxcdv ..." ]; $verification = $cymatic->verify($payload); var_dump($verification); } catch (\Throwable $th) { echo $th; }