ramizmurtaza/license-client
Composer 安装命令:
composer require ramizmurtaza/license-client
包简介
Ramiz License Verification Client
README 文档
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 |
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2026-04-08