magicalella/yii2-magorest
Composer 安装命令:
composer require magicalella/yii2-magorest
包简介
MAGO component for Yii 2 framework
README 文档
README
Magorest component for Yii 2 framework
Installation
The preferred way to install this extension is through composer.
Run
composer require "magicalella/yii2-magorest" "*"
or add
"magicalella/yii2-magorest": "*"
to the require section of your composer.json file.
Usage
- Add component to your config file
'components' => [ // ... 'magorest' => [ 'class' => 'magicalella\magorest\Magorest', 'user' => 'xxxxxx', 'password' => 'xxxxxx', 'endpoint' => 'xxxxxx' ], ]
- Add new contact to MAGO
$magorest = Yii::$app->magorest; $result = $magorest->post('getdata/set-customers',$data) );
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-15