labs64/netlicensingclient-php
A PHP SDK for the Labs64 NetLicensing API, letting you manage products, licenses, customers, and entitlements programmatically. Easily add flexible licensing and entitlement checks to any PHP application.
Architecture fit
Integration feasibility
^6 (a common conflict with modern Laravel), whether it uses PSR-18/PSR-17 abstractions or a concrete HTTP client, and whether authentication is API-key-only or requires basic-auth combinations.Technical risk
composer require. Require a manual source read and a license/provenance attestation before adoption.Key questions
Stack fit
config/netlicensing.php bound to env vars (NETLICENSING_API_KEY, NETLICENSING_BASE_URL, NETLICENSING_TIMEOUT).LicensingServiceProvider registering the vendor client as a singleton.LicenseValidator interface (our contract) with a NetLicensingAdapter implementation. This is the single most important decision: it makes the vendor SDK swappable and keeps vendor types out of controllers and domain code.ValidationResult value object (valid/invalid, entitlements, expiry, cached-at, degraded-mode flag) so callers never touch the raw response.Migration path
RawHttpAdapter against the documented REST endpoints (Guzzle + a handful of endpoints). Realistic effort: days, not weeks. Document this explicitly in the ADR.Compatibility
exit/die, or error_log calls that break under Laravel's error handler; verify it throws catchable exceptions on 4xx/5xx rather than returning silent nulls.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?