Download the PHP package zeeshanmushtq/apinexa without Composer
On this page you can find all versions of the php package zeeshanmushtq/apinexa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zeeshanmushtq/apinexa
More information about zeeshanmushtq/apinexa
Files in zeeshanmushtq/apinexa
Package apinexa
Short Description File-first API schema engine for Laravel with runtime registry, OpenAPI generation and signed API keys.
License MIT
Homepage https://github.com/Zeeshan12378/laravel-apinexa
Informations about the package apinexa
APINEXA
File-first API schema engine for Laravel. Define APIs in PHP, compile a runtime registry, generate OpenAPI + HTML docs, and protect endpoints with stateless signed API keys.
Requirements
- PHP 8.3+
- Laravel 11 or 12
Installation
Quick Start
-
Add a schema file in
api-nexa/schemas/: -
Compile schemas:
-
Generate documentation:
- Open
api-nexa/docs/index.htmlin your browser.
Middleware
Register the API key middleware on your API routes:
Protected schemas (auth => true) require a valid X-Api-Key header.
API Keys
Create signed keys programmatically:
Keys are verified without a database lookup. Revocation is cache-backed.
Configuration
Publish and edit config/apinexa.php to customize schema paths, cache store, documentation output, and signing key (APINEXA_SIGNING_KEY).
Commands
| Command | Description |
|---|---|
APINEXA:install |
Publish config and scaffold directories |
APINEXA:scan |
Load and cache schemas into the registry |
APINEXA:docs |
Generate openapi.json and index.html |
License
MIT
All versions of apinexa with dependencies
illuminate/cache Version ^11.0|^12.0
illuminate/console Version ^11.0|^12.0
illuminate/contracts Version ^11.0|^12.0
illuminate/filesystem Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0