gafhyb/itop-api

该软件包最新版本(1.1)没有可用的许可证信息。

1.1 2017-06-19 12:39 UTC

This package is not auto-updated.

Last update: 2024-09-29 03:52:39 UTC


README

配置

它使用 config.json 作为配置文件。

您可以使用纯文本密码

{
  "user" : "toto",
  "password" : "#G1bm2p!",
  "serverUrl" : "http://host/path"
}

或者系统命令来检索您的(加密的)密码

{
  "user" : "toto",
  "password" : "`security find-generic-password -a thisisamacexample -w`",
  "serverUrl" : "http://host/path"
}

您可以使用以下方式定义文件路径

\gafhyb\iTop\API\Config::setConfigPath(__DIR__ . "/config-test.json");

Composer