oauth2-server-php-docs 集成3

Yii集成

对于Yii集成,请通过Filsh查看Yii OAuth2服务器资源库

CakePHP的

有关CakePHP中集成的这个库的示例,请参阅Qsoomro CakePHP OAuth2 Demo

Restler

  1. features html下载最新的副本

     $ git clone -b features/html https://github.com/Luracast/Restler.git
    
  2. 运行composer.phar install以确保您有:
    • 树枝模板库
    • bshaffer的oauth2 libaray
  3. 确保以下目录具有写入权限来创建已编译的模板文件:
    • public/examples/_014_oauth2_client/cache
    • public/examples/_015_oauth2_server/cache
  4. 确保以下目录具有写入权限。这是oauth.sqlite在运行时创建文件的地方
    • public/examples/_015_oauth2_server/OAuth2/db
  5. 设置一个虚拟主机/path/to/Restler/public

  6. 指向您的浏览器http://yourhost/examples/_014_oauth2_client来玩。
原文地址:https://www.cnblogs.com/endv/p/7842522.html