Coder Social home page Coder Social logo

yconnect-php-sdk's Introduction

Yahoo! ID連携 SDK for PHP

Yahoo! ID連携(YConnect)のAuthorization Codeフローを実装するためのライブラリーです。
実装に必要なクラスファイルが定義されています。

使用API

構成環境

PHP 5.3 (5.3.x)以降(curl、json関連のパッケージ必須)

利用方法

Composerを利用する場合

Composerをインストールしてください。

$ curl -s http://getcomposer.org/installer | php

以下のようにcomposer.jsonを作成してください。

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/yahoojapan/yconnect-php-sdk"
        }
    ],
    "require": {
        "yahoojapan/yconnect-php-sdk": "dev-master"
    }
}

ライブラリーをインストールします。

$ php composer.phar install

autoloaderを読み込んでください。

require_once("vendor/autoload.php");

ライブラリーの使い方についてはサンプルコードをご参照ください。

Composerについては以下の外部サイトを参照してください。

ダウンロードする場合

libディレクトリをinclude_pathに設定してrequireあるいはincludeしてご利用ください。

BillingAddress APIの利用方法

BillingAddress APIの利用には、Yahoo!ウォレット FastPay( https://fastpay.yahoo.co.jp )の登録が必要です。 利用までのフローを記載したページを用意しましたので、以下を参照してください。

License

本ライブラリおよびサンプルコード等は MIT License にて提供しています。
詳しくは LICENSE をご覧ください。

Version

2.2.1

Pull request に関して

現在 Contributor License Agreement(CLA)を準備しています。
CLA に同意していただくまでは Pull request しても必ず受け付けられるわけではありません。
準備が整うまでお待ちください。

yconnect-php-sdk's People

Contributors

yconnect avatar kura-lab avatar kouhwata13 avatar

Watchers

James Cloos avatar Yas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.