pracucci/phoneid-php-sdk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

pracucci/phoneid-php-sdk

最新稳定版本:0.0.2

Composer 安装命令:

composer require pracucci/phoneid-php-sdk

包简介

Login with your mobile phone made easy.

README 文档

README

This PHP SDK allows you to easily implement the Phone.id authentication on web. To see how it works, please take a look at examples/authentication.

What's Phone.id?

Phone.id is a service that makes "login with your mobile number" so easy that hurts.

Composer

This library is installable via Composer. To include it in your projects, run the following command:

composer require pracucci/phoneid-php-sdk

How to register an app

To register an app and get Phone.id credentials, you should:

  1. Login to https://developer.phone.id with your mobile phone
  2. Create a new app and get client id and secret

Contributing

Run tests before pushing a pull request:

phpunit --bootstrap src/PhoneId/autoload.php tests

License

MIT

Changes

0.0.2 (2015-09-22)

  • Update the SDK to support new endpoints
  • Added PhoneId::exchangeAuthorizationCode() method to exchange an authorization code with an access token
  • Fix: POST request content-encoding should be application/x-www-form-urlencoded
  • Fix: PhoneIdClient didn't throw exceptions successfully on errors

0.0.1 (2015-08-10)

  • Server-side authentication support (see examples/authentication)
  • Installable via Composer (psr-4 autoloader)

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固