Download the PHP package carerix/cxrest-client without Composer
On this page you can find all versions of the php package carerix/cxrest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download carerix/cxrest-client
More information about carerix/cxrest-client
Files in carerix/cxrest-client
Package cxrest-client
Short Description Client library for easy access to Carerix REST API
License MIT
Informations about the package cxrest-client
Carerix REST API Client Library
Client library to access your Carerix application via RESTful API (https://api.carerix.com)
Installation
Recommened way is to install the library using composer:
Basic usage
Bootstrapping:
Usage:
After entity manager was bootstrapped correctly
OAuth2 usage
- Configure confidential client
[!IMPORTANT] use urn:cx/xmlapi:data:manage as Default scope
-
Copy CLIENT_ID, CLIENT_SECRET
[!WARNING] CLIENT_SECRET will be available to copy only once
-
Copy
OpenID Configuration
url (from Carerix UI) as CONFIGURATION_URL - Configure entity manager to use OAuth2 authorization:
[!NOTE] After OAuth2 autorization configured usage is the same as Basic usage
Resources
https://help.carerix.com/en/articles/9464648-carerix-rest-api - CxRest Api
https://help.carerix.com/en/articles/9470760-rest-api-methods - CxRestApi methods
https://help.carerix.com/en/articles/9502919-client-setup#h_3411d95f4b - OAuth2 confidential client setup
[!IMPORTANT] use urn:cx/xmlapi:data:manage as Default scope
License
All contents of this project is licensed under the MIT license. See LICENSE
file for details.
Acknowledgements
This project is highly inspired by Doctrine's (www.doctrine-project.org) implementation of the ActiveRecord pattern and Doctrine REST API Client.
All versions of cxrest-client with dependencies
ext-json Version *
ext-libxml Version *
ext-simplexml Version *
guzzlehttp/guzzle Version ^7.0
adbario/php-dot-notation Version ^3.3
league/oauth2-client Version ^2.8