ramizmurtaza / license-client
Ramiz License Verification Client
dev-main
2026-04-11 18:57 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.0
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
This package is auto-updated.
Last update: 2026-04-11 18:57:55 UTC
README
A Laravel package for Ramiz license verification.
Installation
composer require ramiz/license-client
Publish the config:
php artisan vendor:publish --tag=sl-sync
Step 1 — Register the installation
On first install, run:
php artisan ramiz:register
This contacts the Ramiz licensing portal and records your installation. The administrator will review and send you credentials.
Step 2 — Add credentials to .env
After receiving credentials from the administrator:
APP_SYNC_NODE=your-installation-id APP_SYNC_TOKEN=your-secret-key APP_SYNC_CHANNEL=your-product-slug
Step 3 — Protect your routes
In bootstrap/app.php or Kernel.php:
->withMiddleware(function (Middleware $middleware) { $middleware->prepend(\Ramiz\LicenseClient\Middleware\LicenseMiddleware::class); })
Or apply to specific route groups:
Route::middleware('ramiz.license')->group(function () { // protected routes });
Step 4 — Add to scheduler
In routes/console.php:
Schedule::command('ramiz:heartbeat')->hourly();
Commands
| Command | Description |
|---|---|
php artisan ramiz:register |
Register this installation |
php artisan ramiz:status |
Check current license status |
php artisan ramiz:heartbeat |
Send manual heartbeat ping |
Security Layers
| Layer | Description |
|---|---|
| 1 | Portal URL hardcoded and obfuscated — not configurable |
| 2 | Portal signs every response — MITM attacks detected |
| 3 | Credentials use non-obvious .env key names |
| 4 | Source compiled with IonCube — unreadable bytecode |