PHPackages                             narsic/oauth\_2.0\_client\_php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. narsic/oauth\_2.0\_client\_php

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

narsic/oauth\_2.0\_client\_php
==============================

This PHP library helps you to implement an OAuth 2.0 client.

17PHP

Since Jul 11Pushed 12y ago1 watchersCompare

[ Source](https://github.com/narsic/oauth_2.0_client_php)[ Packagist](https://packagist.org/packages/narsic/oauth_2.0_client_php)[ RSS](/packages/narsic-oauth-20-client-php/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

OAuth 2.0 client library PHP
============================

[](#oauth-20-client-library-php)

This PHP library helps you to implement an OAuth 2.0 client.

It uses the draft 10 of the current OAuth 2.0 specification [1](http://tools.ietf.org/html/draft-ietf-oauth-v2-10)

Currently only the web\_server flow and the core response\_type is supported.

Example
-------

[](#example)

An example implementation is available in example.php

License
-------

[](#license)

Copyright (c) 2010 VZnet Netzwerke Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83900249?v=4)[Sajad Baharvandi](/maintainers/narsic)[@narsic](https://github.com/narsic)

---

Top Contributors

[![sajadbahar](https://avatars.githubusercontent.com/u/1523112?v=4)](https://github.com/sajadbahar "sajadbahar (12 commits)")[![bashofmann](https://avatars.githubusercontent.com/u/243056?v=4)](https://github.com/bashofmann "bashofmann (5 commits)")[![vslinko](https://avatars.githubusercontent.com/u/205823?v=4)](https://github.com/vslinko "vslinko (4 commits)")[![elbart](https://avatars.githubusercontent.com/u/48974?v=4)](https://github.com/elbart "elbart (4 commits)")[![wolfgangpfnuer](https://avatars.githubusercontent.com/u/668408?v=4)](https://github.com/wolfgangpfnuer "wolfgangpfnuer (2 commits)")[![kiwnix](https://avatars.githubusercontent.com/u/614777?v=4)](https://github.com/kiwnix "kiwnix (1 commits)")[![endofunky](https://avatars.githubusercontent.com/u/88799?v=4)](https://github.com/endofunky "endofunky (1 commits)")

### Embed Badge

![Health badge](/badges/narsic-oauth-20-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/narsic-oauth-20-client-php/health.svg)](https://phpackages.com/packages/narsic-oauth-20-client-php)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

791.3M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
