ajta30/laravellimesurveyapi
最新稳定版本:v1
Composer 安装命令:
composer require ajta30/laravellimesurveyapi
包简介
Laravel wrapper for the LimeSurvey RemoteControl2 API
README 文档
README
A Laravel wrapper for the LimeSurvey RemoteControl2 API.
By default, API access via Remotecontrol2 is disabled, follow the instructions at (https://manual.limesurvey.org/RemoteControl_2_API) to enable it.
Getting Started
This package can be installed using the following composer command from the root of your Laravel project.
$ composer require "neilherbertuk/laravellimesurveyapi: dev-master"
In Laravel 5.5+ this package should be auto-discovered, however if you are using an earlier version or Laravel add the following service provider and facade in the config/app.php file:
'providers' => [ // ... neilherbertuk\laravellimesurveyapi\LaravelLimesurveyApiProvider::class, ];
'aliases' => [ // ... 'LimeSurveyAPI' => neilherbertuk\laravellimesurveyapi\Facades\LimeSurveyAPI::class, ];
Publish Config (Optional)
By default, the configuration is set within the .env file, however, if you wish to override this, please publish the config file.
$ php artisan vendor:publish --provider="neilherbertuk\laravellimesurveyapi\LaravelLimesurveyApiProvider"
Configure
Add to following to your .env file. The LIMESURVEY_URL setting must match the url listed on the Global Settings -> Interfaces page.
LIMESURVEY_URL= LIMESURVEY_USERNAME= LIMESURVEY_PASSWORD=
Usage
TODO
Credit
Based on du-lei/limesurvey-api-handle
License
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-12