Releases: Clerk-Global-LTD/validpin-client-php
Releases · Clerk-Global-LTD/validpin-client-php
Release list
v1.0.0 — Initial Release
v1.0.0 — Initial Release
Official Validpin PHP client — zero-dependency, domain-locked license verification against the Validpin (https://validpin.com) platform.
✨ Features
- Domain locking — verifies licenses against the exact domain they were issued for (auto-detected from HTTP_HOST/SERVER_NAME, overridable)
- 24-hour cache — cache_enabled: true (default) avoids re-hitting the API on every request
- enforce() mode — stops execution on invalid/expired licenses; ideal for backend bootstrapping
- Configurable endpoint — api_url supports self-hosted / local Validpin-compatible servers
- Zero dependencies — plain cURL, no runtime packages
- PSR-4 autoloading — Validpin\ValidpinClient via Composer
- Phar distribution — single-file validpin.phar for installs without Composer
📦 Installation
composer require validpin/client
Or drop-in the validpin.phar asset:
require 'validpin.phar';
$client = new \Validpin\ValidpinClient('lcs_your_api_key');
🚀 Quick Start