Download the PHP package gnello/php-openfire-restapi without Composer
On this page you can find all versions of the php package gnello/php-openfire-restapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gnello/php-openfire-restapi
More information about gnello/php-openfire-restapi
Files in gnello/php-openfire-restapi
Package php-openfire-restapi
Short Description Client for the REST API plugin of the OpenFire Server
License Apache-2.0
Homepage https://github.com/gnello/php-openfire-restapi
Informations about the package php-openfire-restapi
php-openfire-restapi
A PHP client for the Openfire REST API Plugin which provides you the ability to manage an Openfire instance by sending a REST/HTTP request to the server.
Please read the documentation for further information on using this application.
This client completely supports the >= 1.3.9 version of the REST API Plugin.
Dependencies
The REST API plugin need to be installed and configured on your Openfire server.
Installation
Composer
The best way to install php-openfire-restapi is to use Composer, run the following command:
Read more about how to install and use Composer here.
Usage
Instance and authentication
There are two ways of authentication:
-
Basic HTTP Authentication
- Shared secret key
Make sure to enable one of these authentication methods on your Openfire server.
Configuration
You can configure the Client with the following options:
The only options required are those relating to the chosen authentication method.
Check the response
This Client follows the PSR-7 document, therefore any response is a ResponseInterface type:
Users endpoint
Chat Rooms endpoint
Groups endpoint
Endpoints supported
All the endpoints are supported:
Contact
- gnello [email protected]
All versions of php-openfire-restapi with dependencies
ext-json Version *
psr/http-message Version ^1.0
guzzlehttp/guzzle Version ^6.0||^7.0