liujinyong/ali-api
最新稳定版本:1.0.3
Composer 安装命令:
composer require liujinyong/ali-api
包简介
阿里云api
README 文档
README
阿里云整合API.
Installing
$ composer require liujinyong/ali-api
整合阿里云API
1号码认证服务-短信认证功能
//发送短信 $client = new \Liujinyong\AliApi\core\number_authentication\Message("","","",""); $res = $client->send(""); $res->toMap() //验证短信 $client = new \Liujinyong\AliApi\core\number_authentication\Message("","","",""); $res = $client->check(""); $res->toMap()
2.号码认证服务-号码认证功能
//获取手机号 $client = new \Liujinyong\AliApi\core\one_time_login\Login("",""); $res = $client->getPhone(""); //校验手机号 $client = new \Liujinyong\AliApi\core\one_time_login\Login("",""); $res = $client->checkPhone("","");
3.融合认证服务-融合认证功能
//获取token $client = new \Liujinyong\AliApi\core\rong_authentication\Rong("",""); $res = $client->gettoken("Android",1000,'',"",""); //获取手机号 $client = new \Liujinyong\AliApi\core\rong_authentication\Rong("",""); $res = $client->getPhone("");
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-29