Download the PHP package nexorams/sdk without Composer

On this page you can find all versions of the php package nexorams/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

Nexora PHP SDK

Official PHP client for the Nexora Developer Platform.

Programmatically provision, automate, and orchestrate multi-tenant sector management systems (Schools, Hospitals, Hotels, Pharmacies, Enterprises) with the Nexora Developer API (/developer/v1).


Requirements


Installation

Install the official package via Composer:


Authentication

All requests to the Nexora Developer API are authenticated using your Developer API Key transmitted via HTTP Bearer token:

TEST vs LIVE Environments

Nexora uses distinct key prefixes to guarantee environment isolation:

Environment authority is determined server-side from your API key.

CRITICAL SECURITY NOTICE:
Nexora Developer API keys are server-side credentials. NEVER expose your API key in Blade templates, frontend JavaScript, mobile app bundles, public HTML, or client-accessible environment files.


Quick Start


Resource Usage Guide

Organizations

Programmatic provisioning, lifecycle management, and metadata updates for tenant management systems.

Users

Provision practitioners, teachers, staff members, and client users into tenant organizations.

Note: The Developer API enforces role safety. Attempting to assign platform administration roles (SUPER_ADMIN, PLATFORM_SUPPORT) will result in a PermissionException (FORBIDDEN_ROLE).

Modules

Query available modular capabilities and inspect developer account module credit entitlements.

Plans

Inspect public subscription tiers, sector limits, and pricing.

Subscriptions

Inspect authoritative tenant subscription tiers, trial periods, and resource quotas.

Domains

Connect and verify custom white-label hostnames.

Webhooks

Register real-time event listener endpoints and rotate cryptographic signing secrets.

Webhook Signature Verification

Incoming webhook POST requests are signed using HMAC-SHA256 (t=<timestamp>,v1=<signature>). Verify the signature using constant-time comparison (hash_equals) and automatic replay protection:

Deliveries

Audit real-time delivery logs, HTTP response codes, and trigger redeliveries.

Usage & Observability

Monitor monthly request volume, error distributions, and project quota status.


Nexora Cloud (custom management systems)

Organizations install Nexora Cloud applications and explicitly grant your developer project access to specific entities and actions. Your API key needs cloud:read, cloud:write and/or cloud:delete; the effective permissions are the intersection of the organization's grants and your key's scopes.

Sensitive fields are never returned or writable through the API. TEST keys can use your own application's sandbox.

Error Handling

The SDK provides a clean exception hierarchy mapping directly to server response codes. All exceptions expose correlation requestId, statusCode, and errorCode:


Idempotency

Mutating write operations like organization provisioning support the Idempotency-Key header:


Framework Integration Examples

Laravel Integration

Install the package via Composer:

Add your credentials in .env:

Register the configuration in config/services.php:

Bind the client in app/Providers/AppServiceProvider.php:

Use in a Controller:

Webhook Controller with CSRF exemption:


Security & Compliance

  1. Secret Masking: The Nexora client implements custom __debugInfo() and __serialize() methods to ensure API keys are never exposed in logs, crash dumps, or error reports.
  2. Timing Attack Protection: Webhook verification always uses hash_equals().
  3. Replay Attack Protection: Webhook signatures include a timestamp (t=<timestamp>) validated against a configurable tolerance window.

Support & Resources


License

The Nexora PHP SDK is open-sourced software licensed under the MIT license.

nexora-php-sdk


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nexorams/sdk contains the following files

Loading the files please wait ...