Download the PHP package worksome/sdk without Composer
On this page you can find all versions of the php package worksome/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sdk
Short Description An object-oriented PHP wrapper for the Worksome API
License MIT
Informations about the package sdk
Worksome PHP SDK
An object-oriented PHP wrapper for the Worksome API
Requirements
- PHP >= 8.2
- A PSR-17 implementation
- A PSR-18 implementation
Install
Via Composer
We are decoupled from any HTTP messaging client with help by HTTPlug.
Usage
Basic usage
Authentication
The Worksome SDK supports authenticating through an API token.
Using a different HTTP client
Thanks to HTTPlug, we support the use of many HTTP clients. For example, to use the Symfony HTTP Client, first install the client and PSR-7 implementation.
Next, set up the Worksome client with this HTTP client:
Alternatively, you can inject an HTTP client through the Client
constructor.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
To update the test snapshots, set the WORKSOME_LOCAL_API_URL
and WORKSOME_LOCAL_API_TOKEN
environment variables, and
then run composer update:snapshots
.
Credits
- Owen Voke
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of sdk with dependencies
php-http/client-common Version ^2.5
php-http/discovery Version ^1.14.3
php-http/httplug Version ^2.3
php-http/multipart-stream-builder Version ^1.2
psr/http-client-implementation Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.1||^2.0