Download the PHP package oneofftech/k-link-registry-client without Composer
On this page you can find all versions of the php package oneofftech/k-link-registry-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oneofftech/k-link-registry-client
More information about oneofftech/k-link-registry-client
Files in oneofftech/k-link-registry-client
Package k-link-registry-client
Short Description Client library for K-Registry API
License AGPL-3.0-only
Informations about the package k-link-registry-client
K-Link Registry client
Installation
TL;DR
This library does not have a dependency on Guzzle, cUrl or any other library that sends HTTP requests. We use the awesome HTTPlug to achieve the decoupling. We want you to choose what library to use for sending HTTP requests. Consult this list of packages that support php-http/client-implementation find clients to use. For more information about virtual packages please refer to HTTPlug. Example:
You do also need to install a PSR-7 implementation and a factory to create PSR-7 messages (PSR-17 whenever that is released). You could use Guzzles PSR-7 implementation and factories from php-http:
Now you may install the library by running the following:
Usage example
To check if an application has a specific permission, use the Application::hasPermission(string)
call
on the Model returned by the ->getApplication(..)
call.
All versions of k-link-registry-client with dependencies
php-http/httplug Version ^1.0
php-http/client-common Version ^1.1
php-http/discovery Version ^1.0
php-http/message-factory Version ^1.0
php-http/message Version ^1.0
guzzlehttp/psr7 Version ^1.3