a5sys / mantis-api-bundle
1.0.0
2018-05-04 13:40 UTC
Requires
- php: >=5.3
- ext-soap: *
- symfony/framework-bundle: >=2.1
This package is auto-updated.
Last update: 2024-08-27 18:09:21 UTC
README
一个提供Mantis API服务的包
Composer
使用Composer获取包
composer require "a5sys/mantis-api-bundle"
要求
PHP扩展
- php_soap
激活包
在AppKernel中激活包
new A5sys\MantisApiBundle\MantisApiBundle(),
配置
在config.yml中,包的配置为
mantis_api:
login: "%mantis_login%"
password: "%mantis_password%"
url: "%mantis_url%/api/soap/mantisconnect.php"
verify_peer: true #mandatory, the ssl option
verify_peer_name: true #mandatory, the ssl option
allow_self_signed: false #mandatory, the ssl option