Download the PHP
package voximplant/kit-imclient-php without Composer
On this page you can find all versions of the php package
voximplant/kit-imclient-php. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
HTTP API is available via the https://kit-im-{{region}}.voximplant.com/{method} endpoint. To send events you need to use jwt token. You can get jwt token via login method using an api token created on api tokens page. You need to pass api token as access_token.
Authentication
The parameters that are needed to be sent for generate jwt token are as follows:
access_token
domain
## Requirements
PHP 5.5 and later
## Installation & Usage
### Composer
To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:
Then run `composer install`
### Manual Installation
Download the files and include `autoload.php`:
## Tests
To run the unit tests:
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
## Documentation for API Endpoints
All URIs are relative to *https://kit-im-{{region}}.voximplant.com*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*BotServiceApi* | [**login**](docs/Api/BotServiceApi.md#login) | **POST** /api/v3/botService/login |
*BotServiceApi* | [**refreshToken**](docs/Api/BotServiceApi.md#refreshtoken) | **POST** /api/v3/botService/refreshToken |
*BotServiceApi* | [**sendEvent**](docs/Api/BotServiceApi.md#sendevent) | **POST** /{channel_uuid} |
## Documentation For Models
- [AnyOfMessagingEventMessageTypePayloadItems](docs/Model/AnyOfMessagingEventMessageTypePayloadItems.md)
- [Body](docs/Model/Body.md)
- [Body1](docs/Model/Body1.md)
- [ErrorResultType](docs/Model/ErrorResultType.md)
- [ErrorType](docs/Model/ErrorType.md)
- [InlineResponse200](docs/Model/InlineResponse200.md)
- [MessagingEventMessagePayloadContact](docs/Model/MessagingEventMessagePayloadContact.md)
- [MessagingEventMessagePayloadLocation](docs/Model/MessagingEventMessagePayloadLocation.md)
- [MessagingEventMessagePayloadMedia](docs/Model/MessagingEventMessagePayloadMedia.md)
- [MessagingEventMessageSenderDataType](docs/Model/MessagingEventMessageSenderDataType.md)
- [MessagingEventMessageType](docs/Model/MessagingEventMessageType.md)
- [MessagingIncomingEventClientDataDeviceType](docs/Model/MessagingIncomingEventClientDataDeviceType.md)
- [MessagingIncomingEventClientDataLocationType](docs/Model/MessagingIncomingEventClientDataLocationType.md)
- [MessagingIncomingEventClientDataPageType](docs/Model/MessagingIncomingEventClientDataPageType.md)
- [MessagingIncomingEventClientDataUtmType](docs/Model/MessagingIncomingEventClientDataUtmType.md)
- [MessagingIncomingEventType](docs/Model/MessagingIncomingEventType.md)
- [MessagingIncomingEventTypeClientData](docs/Model/MessagingIncomingEventTypeClientData.md)
- [MessagingIncomingEventTypeEventData](docs/Model/MessagingIncomingEventTypeEventData.md)
- [MessagingLoginResponseType](docs/Model/MessagingLoginResponseType.md)
- [MessagingLoginResponseTypeResult](docs/Model/MessagingLoginResponseTypeResult.md)
- [MessagingOutgoingChatCloseEventSenderDataType](docs/Model/MessagingOutgoingChatCloseEventSenderDataType.md)
- [MessagingOutgoingChatCloseEventType](docs/Model/MessagingOutgoingChatCloseEventType.md)
- [MessagingOutgoingChatCloseEventTypeEventData](docs/Model/MessagingOutgoingChatCloseEventTypeEventData.md)
- [MessagingOutgoingNewMessageEventType](docs/Model/MessagingOutgoingNewMessageEventType.md)
- [MessagingOutgoingNewMessageEventTypeClientData](docs/Model/MessagingOutgoingNewMessageEventTypeClientData.md)
- [MessagingOutgoingNewMessageEventTypeEventData](docs/Model/MessagingOutgoingNewMessageEventTypeEventData.md)
## Documentation For Authorization
Authentication schemes defined for the API:
## access_token
- **Type**: API key
- **API key parameter name**: access_token
- **Location**: URL query string
## domain
- **Type**: API key
- **API key parameter name**: domain
- **Location**: URL query string
## jwt_token
- **Location**: HTTP header
- **Header key parameter name**: Authorization
## Author
All versions of kit-imclient-php with dependencies
Requiresphp Version
>=7.1 ext-curl Version
* ext-json Version
* ext-mbstring Version
* guzzlehttp/guzzle Version
^6.2
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package voximplant/kit-imclient-php contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.