crockett95/projectplaceoauth 问题修复 & 功能扩展

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

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

crockett95/projectplaceoauth

最新稳定版本:0.1

Composer 安装命令:

composer require crockett95/projectplaceoauth

包简介

Service wrapper for Projectplace OAuth 1.0 for use with the PHPOAuthLib library by Lusitanian.

README 文档

README

Service wrapper for Projectplace OAuth 1.0 for use with the PHPOAuthLib library by Lusitanian.

PHPoAuthLib provides oAuth support in PHP 5.3+ and is very easy to integrate with any project which requires an oAuth client.

More about the Projectplace API.

Travis build status Packagist License Packagist Version Packagist Downloads

Installation

The library is available on Packagist. The recommended way to install it is with composer.

Add as a dependency in composer.json:

{
    "require": {
        "crockett95/projectplaceoauth": "~0.1"
    }
}

Or require with composer:

composer require crockett95/projectplaceoauth

Usage

Use the ServiceFactory::registerService method from the PHPOAuthLib library to register the new service.

<?php
$serviceFactory = new \OAuth\ServiceFactory();
$serviceFactory->registerService('projectplace', 'Crockett95\\ProjectPlace\\OAuthService');

See the example for more information.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Most of the code is a blatant ripoff of PHPOAuthLib library.

License

Released under the terms of the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-10-25