問題描述
我一直在努力尋找一個支持 OAuth 2.0 作為服務器的活躍的開源 PHP 項目.有大量客戶端示例連接到 Facebook、Twitter 等,但隨著越來越多的人想要通過 API 公開他們自己的服務,我有點驚訝開源社區還沒有解決這個需求.并不是說沒有什么都沒有,而是說大部分是過時的,幾乎沒有文檔,并且在當前的開發和對話方面幾乎沒有活動.
I have been struggling to find an active open-source PHP project that supports OAuth 2.0 as a server. There are tons of client examples that connect to Facebook, Twitter, etc. but as more and more people want to expose their own services through an API I'm a bit surprised the open source community hasn't addressed this need already. It's not that there is nothing but what's there is mostly out-of-date, little-to-no documentation, and very little to no activity in terms of current development and conversation.
我是否錯過了一個好的開源選項?有誰知道任何商業選擇?我真的需要盡快完成一些工作,而我個人沒有帶寬或安全憑據來自己解決這個問題.
Am I missing a good open-source option out there? Does anyone know of any commercial options? I really need to get something in place soonish and I personally don't have the bandwidth or security credentials to tackle this problem myself.
推薦答案
經過大量搜索后,我相信我已經找到了適合 PHP 用戶的最佳解決方案.意見不一,但這是我最喜歡的:
After much searching around I believe I have found the best solution for PHP'ers out there. Opinions are a dime a dozen but here's my favourite:
http://bshaffer.github.io/oauth2-server-php-docs/
非常活躍、高質量的對話和可靠的產品以及良好(和改進)的文檔.
Very active, high quality conversation and a solid product along with good (and improving) documentation.
這篇關于用于 PHP 的 OAuth 2.0 服務器的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!