Download the PHP package nerova/sdk without Composer
On this page you can find all versions of the php package nerova/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sdk
Short Description Server-side PHP client for the Nerova stable tenant-v1 API.
License MIT
Homepage https://docs.nerovasystems.com
Informations about the package sdk
nerova/sdk
Server-side PHP client for Nerova's dedicated stable tenant-v1 API. The typed
client is built from the published tenant-v1 OpenAPI contract, so every path,
parameter, and model exists because the contract says so.
This package is server-side only: no browser credential flow, no UI, no persistent credential storage. Never ship an API key to a browser or a mobile app.
The Composer package is nerova/sdk (on Packagist),
the client namespace is Nerova\Sdk, and it needs PHP 8.2 or later. It installs its HTTP and
serialization runtime libraries (the Guzzle-based request adapter and the JSON, text, form, and
multipart serializers) as regular dependencies. Composer may ask once whether to allow the
php-http/discovery and tbachert/spi plugins, which come with that runtime; answer yes.
Versioning
The SDK shares one version line with @nerova/sdk and Nerova.Sdk
(currently 0.3.0-preview.3). Composer has no preview stability, so a
-preview.N suffix is published as a -beta.N Git tag: 0.3.0-preview.3 is
v0.3.0-beta.3, and 0.3.0-preview.4 will be v0.3.0-beta.4. A stable
release keeps the bare X.Y.Z (v0.3.0). Composer skips pre-releases unless you
name one (as above) or allow the stability, for example
composer require nerova/sdk:^0.3@beta. The API surface may change before 1.0, so pin
the exact version.
Quickstart
The API has one public host, https://api.nerovasystems.com, which is the
client's default base URL. Every API key is a Live key (nrv_live_) that reaches
Production; approved platforms start on a free testing allowance. Read the key from the
environment and send it as Authorization: Bearer <key>. The HTTP runtime ships a
bearer-token authentication provider, so the only code you write is a small token provider:
Every call returns a promise; ->wait() resolves it or throws. The client mirrors the URL
structure of the API ($client->api()->v1()->status(), ->tenants()->byTenantId($id), and so on).
Mutations and errors
Every mutation requires a caller-owned Idempotency-Key header supplied through
the request configuration; the client performs no automatic retries and never
generates a hidden key:
Errors follow RFC 9457: a failed call throws the deserialized
Nerova\Sdk\Models\ProblemDetails, which also carries getResponseStatusCode() and
getResponseHeaders(). The stable code and the correlationId arrive in
getAdditionalData(). Enums are open string sets, so treat unknown values as forward
compatibility rather than errors. List endpoints paginate with unixms|id cursors: pass
limit and cursor and follow getNextCursor() until the server stops returning one.
Documentation and support
Guides, the API reference, and support contacts are on docs.nerovasystems.com. Start with the quickstart and the SDK overview.
This repository is a read-only distribution of the package so that Packagist can serve it. Do not open issues or pull requests here, they are not monitored; contact Nerova support through the documentation site instead.
All versions of sdk with dependencies
microsoft/kiota-abstractions Version ^1.5 || ^2.1
microsoft/kiota-http-guzzle Version ^1.5 || ^2.1
microsoft/kiota-serialization-json Version ^1.5 || ^2.1
microsoft/kiota-serialization-text Version ^1.5 || ^2.1
microsoft/kiota-serialization-form Version ^1.5 || ^2.1
microsoft/kiota-serialization-multipart Version ^1.5 || ^2.1