Download the PHP package keestash/php-sdk without Composer
On this page you can find all versions of the php package keestash/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download keestash/php-sdk
More information about keestash/php-sdk
Files in keestash/php-sdk
Package php-sdk
Short Description SDK for interacting with Keestash
License AGPL-3.0-or-later
Informations about the package php-sdk
Keestash SDK
Keestash SDK is a collection of code that makes it easier to interact with Keestash instances. The basic idea is to configure the SDK once and create, update, delete resources on a remote Keestash server easily.
The SDK is still under development. The service classes are added as needed. If you need something, please open a pull request or open a support ticket.
Installation
Use the package manager composer to install Keestash SDK.
Usage
First, you need to implement the \Keestash\Sdk\Service\Api\ApiCredentialsInterface
interface in order to provide the API URL and credentials to the SDK. The API URL needs to be there for all requests sending to Keestash whereas the user hash and user token are not necessarily need to present.
After providing the URL to your Keestash instance, you can call the login endpoint
The login endpoint returns a user hash and token in case of success. You need these for all authenticated requests to Keestash. Make sure that your class implementing \Keestash\Sdk\Service\Api\ApiCredentialsInterface
uses the returned values for all subsequent requests.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
All versions of php-sdk with dependencies
guzzlehttp/guzzle Version ^7
ext-json Version *
doganoo/di-services Version ^0.0.37