Download the PHP package zivar/laravel-security without Composer
On this page you can find all versions of the php package zivar/laravel-security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zivar/laravel-security
More information about zivar/laravel-security
Files in zivar/laravel-security
Package laravel-security
Short Description Hardware-bound cryptographic licensing and anti-piracy security package for Laravel applications.
License MIT
Informations about the package laravel-security
Zivar Security (zivar/laravel-security)
Hardware-bound cryptographic licensing and anti-piracy security package for Laravel applications.
๐ Overview
zivar/laravel-security protects commercial Laravel applications against unauthorized server migration and software piracy:
- ๐ Hardware Binding Engine: Binds application execution to physical server metrics (BIOS UUID, OS Machine ID, CPU Model, MAC Address).
- ๐ Asymmetric RSA Cryptography: Validates license authenticity using SHA-256 signatures backed by 2048-bit RSA keys.
- ๐ก๏ธ Early Boot & Global Protection: Automatically intercepts HTTP requests across
webandapiroute groups during framework bootstrapping. - โก Zero Paid Dependencies: Runs natively on standard PHP 8.2+ environments without requiring paid extensions.
๐ Requirements
- PHP:
^8.2or^8.3or^8.4 - Laravel Framework:
^10.0or^11.0or^12.0or^13.0 - OpenSSL Extension: Enabled
๐ Client Installation & Setup Guide
Step 1: Install Package via Composer
Install the package in your Laravel project:
The Service Provider automatically registers global protection middleware across all HTTP requests.
Step 2: Retrieve Server Hardware Fingerprint
To obtain your server's unique Hardware Fingerprint Hash, execute the following Artisan command:
Output Example:
๐ Copy and send this Hardware Fingerprint Hash to your software vendor to request your official license file.
Step 3: Place Public Verification Key
Copy the public.pem verification key provided by your vendor into your application's storage directory:
Step 4: Activate Official License Key
Activate your software license file (license.lic) using the Artisan activation command:
Output Example:
Step 5: Verify Active License Status
Verify your active license status and hardware match anytime:
Output Example:
๐ ๏ธ Available Client Commands
| Command | Description |
|---|---|
php artisan security:fingerprint |
Display current server hardware fingerprint hash. |
php artisan security:activate {file} |
Install and activate license file on this server. |
php artisan security:status |
Check active license details and hardware match. |
โ๏ธ Environment Variables (Optional)
You can customize license paths via your application's .env file:
๐งช Testing
Run PHPUnit tests:
๐ฌ Kontak & Sosial Media (Author)
Jika Anda memiliki pertanyaan, saran pengembangan, atau ingin berkolaborasi, silakan hubungi pengembang melalui:
๐ License
The MIT License (MIT). Please see License File for details.
All versions of laravel-security with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0