Download the PHP package linkbridge/sdk-php without Composer
On this page you can find all versions of the php package linkbridge/sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download linkbridge/sdk-php
More information about linkbridge/sdk-php
Files in linkbridge/sdk-php
Download linkbridge/sdk-php
More information about linkbridge/sdk-php
Files in linkbridge/sdk-php
Vendor linkbridge
Package sdk-php
Short Description PHP SDK for the Linkbridge SI + APP e-invoicing API.
License Apache-2.0
Homepage https://docs.linkbridge.ng
Package sdk-php
Short Description PHP SDK for the Linkbridge SI + APP e-invoicing API.
License Apache-2.0
Homepage https://docs.linkbridge.ng
Please rate this library. Is it a good library?
Informations about the package sdk-php
Linkbridge PHP SDK
Idiomatic PHP client for the Linkbridge SI + APP API.
Design notes
- Zero runtime Composer dependencies. Built on the bundled
curl,json,openssl, andhashextensions only. Same posture as the Python SDK (ADR-0022) so the package installs on any FIRS-issued image withoutcomposer require. - Resource grouping mirrors the Go / Node / Python SDKs:
client->invoices->{submit,get,list,transmit,updateStatus},client->webhooks->{create,list,delete},client->lookups->*. - OAuth2 client-credentials with a lazy in-memory token cache
refreshed 60 seconds before expiry. Pass a
static_tokento bypass the OAuth dance for ops scripts. - Pluggable transport: any class implementing
Linkbridge\Transport\TransportInterfacecan replaceCurlTransport, which is what the unit tests do (no live HTTP needed). - Webhook verifier in
Linkbridge\Webhook::verify()mirrors the reference implementation in the API server byte-for-byte.
Requirements
- PHP 8.1+
- Extensions:
curl,json,openssl,hash(all in php-core)
Install
…or just copy src/ into your project — there are no transitive deps.
Running the tests
The included composer.json has no runtime requires; phpunit/phpunit
is a require-dev only and is fetched the first time you run
composer install.
Webhook verification
Webhook::verify() enforces the same 5-minute replay window the
server-side verifier uses and compares the digest in constant time
via hash_equals.
All versions of sdk-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-curl Version *
ext-json Version *
ext-openssl Version *
ext-hash Version *
ext-curl Version *
ext-json Version *
ext-openssl Version *
ext-hash Version *
The package linkbridge/sdk-php contains the following files
Loading the files please wait ...