unpackLicense example

if (empty($licenseString)) {
            $this->View()->assign([
                'success' => false,
                'message' => 'Empty license information cannot be validated.',
            ]);

            return;
        }

        try {
            /** @var LicenseInformation $licenseData */
            $licenseData = $this->unpackLicense($licenseString);
        } catch (Exception $e) {
            $this->View()->assign([
                'success' => false,
                'message' => $e->getMessage(),
                'errorType' => $this->resolveLicenseException($e),
            ]);

            return;
        }

        try {
            
Home | Imprint | This part of the site doesn't use cookies.