Download the PHP package mayunfeng/insideapi without Composer
On this page you can find all versions of the php package mayunfeng/insideapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package insideapi
insideapi 为公司内部使用
仅作内部项目使用,非内部人员请忽视
安装
composer require mayunfeng/insideapi
使用
$options = [
'debug' => true,
'token' => 'token',
'access_key' => 'access_key',
'cache' => 'Doctrine\Common\Cache\RedisCache', // RedisCache 实例了 `Doctrine\Common\Cache\Cache` 接口
'log' => [
'level' => 'debug',
'file' => '/tmp/insideapi.log',
],
/**
* Guzzle 全局设置
*
* 更多请参考: http://docs.guzzlephp.org/en/latest/request-options.html
*/
'guzzle' => [
'timeout' => 3.0, // 超时时间(秒)
//'verify' => false, // 关掉 SSL 认证(强烈不建议!!!)
],
// ...
];
$app = new Application($options);
$result = $app->manage->addUser();
if($result['Success']){
// do something
} else {
// do something
}
All versions of insideapi with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
ext-curl Version *
ext-json Version *
pimple/pimple Version ~3.0
symfony/http-foundation Version *
mayunfeng/supports Version ^1.0
psr/simple-cache Version ^1.0
symfony/cache Version ^5.0
ext-curl Version *
ext-json Version *
pimple/pimple Version ~3.0
symfony/http-foundation Version *
mayunfeng/supports Version ^1.0
psr/simple-cache Version ^1.0
symfony/cache Version ^5.0
The package mayunfeng/insideapi contains the following files
Loading the files please wait ....