Download the PHP package artapamudaid/secure-api-server without Composer
On this page you can find all versions of the php package artapamudaid/secure-api-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download artapamudaid/secure-api-server
More information about artapamudaid/secure-api-server
Files in artapamudaid/secure-api-server
Download artapamudaid/secure-api-server
More information about artapamudaid/secure-api-server
Files in artapamudaid/secure-api-server
Vendor artapamudaid
Package secure-api-server
Short Description Laravel package for secure API HMAC authentication
License MIT
Package secure-api-server
Short Description Laravel package for secure API HMAC authentication
License MIT
Please rate this library. Is it a good library?
Informations about the package secure-api-server
SecureApiServer
A secure API authentication package for Laravel using API Key + Secret + HMAC signature with nonce & timestamp validation.
Built for protecting internal or third-party API calls with full management support.
โจ Features
- ๐ Generate secure API Key & Secret
- ๐ Validate signature using HMAC
- ๐ Protects with
X-TIMESTAMPandX-NONCE - ๐ซ Revoke or delete API Keys
- ๐ค Enforce one key per user
- ๐ฆ Fully tested with PHPUnit 12
๐ฆ Installation (via Packagist)
Lalu:
โ๏ธ Configuration
Konfigurasi berada di config/apikey.php:
๐ API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /secure-api/key |
Generate API key + secret |
| GET | /secure-api/keys |
List all API keys |
| DELETE | /secure-api/key/{id} |
Delete API key |
| PATCH | /secure-api/key/{id}/revoke |
Revoke API key |
| POST | /secure-api/ping |
Test secure endpoint |
๐งพ Required Headers for Secured Endpoints
HMAC Signature format:
๐งช Running Tests
Dibangun menggunakan:
-
PHPUnit ^12.0
-
Orchestra Testbench (Laravel testing framework)
-
๐ก Laravel Compatibility
| Laravel Version | Support |
|---|---|
| 8.x | โ |
| 9.x | โ |
| 10.x | โ |
| 11.x | โ |
All versions of secure-api-server with dependencies
PHP Build Version
Package Version
No informations.
The package artapamudaid/secure-api-server contains the following files
Loading the files please wait ...