承接 liujinyong/ali-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-29