mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
Readme - configuration of LimeSurvey
This commit is contained in:
18
README.md
18
README.md
@@ -7,12 +7,24 @@ Client of the [LimeSurvey's API](https://manual.limesurvey.org/RemoteControl_2_A
|
||||
|
||||
Run [Composer](https://getcomposer.org) to install this package in your project:
|
||||
|
||||
```bash
|
||||
$ composer require meritoo/limesurvey-api-client
|
||||
```
|
||||
```bash
|
||||
$ composer require meritoo/limesurvey-api-client
|
||||
```
|
||||
|
||||
> How to install Composer: https://getcomposer.org/download
|
||||
|
||||
## Configuration of LimeSurvey
|
||||
|
||||
1. Login to the LimeSurvey administration, e.g. using https://your-domain/admin address
|
||||
2. Go to menu: `Configuration` -> `Global settings`
|
||||
3. Open `Interfaces` tab
|
||||
4. For `RPC interface enabled` select `JSON-RPC` option
|
||||
5. Enable `Publish API on /admin/remotecontrol` option
|
||||
|
||||
It should look like here:
|
||||

|
||||
More information: https://manual.limesurvey.org/RemoteControl_2_API#Introduction
|
||||
|
||||
## Usage
|
||||
|
||||
1. First of all you have to prepare configuration of connection and create instance of a client:
|
||||
|
||||
Reference in New Issue
Block a user