ziggeo / manifold-php-signature
Verify signed HTTP request from Manifold
Installs: 53 705
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 13
Forks: 0
Open Issues: 0
Requires
- paragonie/sodium_compat: ^1.6
This package is auto-updated.
Last update: 2024-11-11 22:48:09 UTC
README
Verify signed HTTP requests from Manifold.
Install
composer require ziggeo/manifold-php-verifier
Usage
<?php require "vendor/autoload.php"; use Manifold\Verifier\Verifier; $master_key = "YOUR_MASTER_KEY"; $request_data = $_SERVER; try { $Verifier = new Verifier($master_key); $resp = $Verifier->test($request_data); } catch (Exception $e) { echo $exception->getMessage(); }