{"id":13623701,"url":"https://github.com/daviddesberg/PHPoAuthLib","last_synced_at":"2025-04-15T15:30:39.224Z","repository":{"id":4161845,"uuid":"5276670","full_name":"daviddesberg/PHPoAuthLib","owner":"daviddesberg","description":"PHP 5.3+ oAuth 1/2 Client Library","archived":false,"fork":false,"pushed_at":"2024-01-08T21:46:43.000Z","size":5101,"stargazers_count":1083,"open_issues_count":168,"forks_count":452,"subscribers_count":52,"default_branch":"master","last_synced_at":"2025-04-10T02:19:09.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daviddesberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-08-02T19:09:57.000Z","updated_at":"2025-03-15T20:58:27.000Z","dependencies_parsed_at":"2023-07-05T17:00:45.513Z","dependency_job_id":"7068afd6-4e92-41c1-ba31-a26fb719090d","html_url":"https://github.com/daviddesberg/PHPoAuthLib","commit_stats":{"total_commits":632,"total_committers":134,"mean_commits":"4.7164179104477615","dds":0.7895569620253164,"last_synced_commit":"ee5a83310c6014b6cc07ac0610ec9d67ba452664"},"previous_names":["lusitanian/phpoauthlib"],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddesberg%2FPHPoAuthLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddesberg%2FPHPoAuthLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddesberg%2FPHPoAuthLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddesberg%2FPHPoAuthLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daviddesberg","download_url":"https://codeload.github.com/daviddesberg/PHPoAuthLib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249097741,"owners_count":21212344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T21:01:34.680Z","updated_at":"2025-04-15T15:30:38.939Z","avatar_url":"https://github.com/daviddesberg.png","language":"PHP","funding_links":[],"categories":["Table of Contents","PHP"],"sub_categories":["Authentication and Authorization","Library"],"readme":"PHPoAuthLib\n===========\n**NOTE: I'm looking for someone who could help to maintain this package alongside me, just because I don't have a ton of time to devote to it. However, I'm still going to keep trying to pay attention to PRs, etc.**\n\nPHPoAuthLib provides oAuth support in PHP 7.2+ and is very easy to integrate with any project which requires an oAuth client.\n\n[![Build Status](https://travis-ci.org/Lusitanian/PHPoAuthLib.png?branch=master)](https://travis-ci.org/Lusitanian/PHPoAuthLib)\n[![Code Coverage](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/badges/coverage.png?s=a0a15bebfda49e79f9ce289b00c6dfebd18fc98e)](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/)\n[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/badges/quality-score.png?s=c5976d2fefceb501f0d886c1a5bf087e69b44533)](https://scrutinizer-ci.com/g/Lusitanian/PHPoAuthLib/)\n[![Latest Stable Version](https://poser.pugx.org/lusitanian/oauth/v/stable.png)](https://packagist.org/packages/lusitanian/oauth)\n[![Total Downloads](https://poser.pugx.org/lusitanian/oauth/downloads.png)](https://packagist.org/packages/lusitanian/oauth)\n\nInstallation\n------------\nThis library can be found on [Packagist](https://packagist.org/packages/lusitanian/oauth).\nThe recommended way to install this is through [composer](http://getcomposer.org).\n\n\n```bash\n    composer require lusitanian/oauth\n```\n\nFeatures\n--------\n- PSR-4 \n- Fully extensible in every facet.\n    - You can implement any service with any custom requirements by extending the protocol version's `AbstractService` implementation.\n    - You can use any HTTP client you desire, just create a class utilizing it which implements `OAuth\\Common\\Http\\ClientInterface` (two implementations are included)\n    - You can use any storage mechanism for tokens. By default, session, in-memory and Redis.io (requires PHPRedis) storage mechanisms are included. Implement additional mechanisms by implementing `OAuth\\Common\\Token\\TokenStorageInterface`.\n\nService support\n---------------\nThe library supports both oAuth 1.x and oAuth 2.0 compliant services. A list of currently implemented services can be found below.\n\nIncluded service implementations\n--------------------------------\n- OAuth1\n    - 500px\n    - BitBucket\n    - Etsy\n    - FitBit\n    - Flickr\n    - QuickBooks\n    - Scoop.it!\n    - Tumblr\n    - Twitter\n    - Yahoo\n- OAuth2\n    - Amazon\n    - BitLy\n    - Bitrix24\n    - Box\n    - Buffer\n    - Dailymotion\n    - Delicious\n    - Deezer\n    - DeviantArt\n    - Dropbox\n    - Eve Online\n    - Facebook\n    - Foursquare\n    - GitHub\n    - Google\n    - Harvest\n    - Heroku\n    - Hubic\n    - Instagram\n    - Jawbone UP\n    - LinkedIn\n    - Mailchimp\n    - Microsoft\n    - Mondo\n    - Nest\n    - Netatmo\n    - Parrot Flower Power\n    - PayPal\n    - Pinterest\n    - Pocket\n    - Reddit\n    - RunKeeper\n    - Salesforce\n    - SoundCloud\n    - Spotify\n    - Strava\n    - Stripe\n    - Ustream\n    - Vimeo\n    - Vkontakte\n    - Xing\n    - Yahoo\n    - Yammer\n- more to come!\n\nExamples\n--------\n```bash\n    php -S localhost:8000 -t examples\n```\nThen point your browser to:\n```text\n    http://localhost:8000/\n```\n\n\nUsage\n------\nFor usage with complete auth flow, please see the examples. More in-depth documentation will come with release 1.0.\n\nFramework Integration\n---------------------\n* Lithium: Sébastien Charrier has written [an adapter](https://github.com/scharrier/li3_socialauth) for the library.\n* Laravel 4: Dariusz Prząda has written [a service provider](https://github.com/artdarek/oauth-4-laravel) for the library.\n* Laravel 5: Valentin Ivaşcu ported Dariusz Prząda's Laravel 4 library to [Laravel 5](https://github.com/oriceon/oauth-5-laravel).\n* Symfony: Alexander Pinnecke has written [a Symfony Bundle](https://github.com/apinnecke/OAuthBundle) for the library.\n\nExtensions\n----------\n* Extract normalized user data from OAuth Services with the library [PHPoAuthUserData](https://github.com/Oryzone/PHPoAuthUserData) by Luciano Mammino\n\nTests\n------\n```bash\n    composer tests\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaviddesberg%2FPHPoAuthLib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaviddesberg%2FPHPoAuthLib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaviddesberg%2FPHPoAuthLib/lists"}