Laravel License Key System Info

if ($domain) $this->registerActivation($license, $domain, request()->ip());

$activeDomains = $license->activations() ->where('domain', $domain) ->orWhere('domain', '!=', $domain) ->count(); laravel license key system

public function validate(string $key, ?string $domain = null): array if ($domain) $this-&gt

Register in kernel.php and use in routes: $activeDomains = $license-&gt

(in their Laravel app):