PHPackages                             kenjdavidson/oauth-yahoofantasysports - 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. kenjdavidson/oauth-yahoofantasysports

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

kenjdavidson/oauth-yahoofantasysports
=====================================

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

0.2.2(8y ago)2431PHPCI failing

Since Sep 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kenjdavidson/php-oauth-yahoofantasysports)[ Packagist](https://packagist.org/packages/kenjdavidson/oauth-yahoofantasysports)[ RSS](/packages/kenjdavidson-oauth-yahoofantasysports/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

kenjdavidson/oauth-yahoofantasysports
=====================================

[](#kenjdavidsonoauth-yahoofantasysports)

Provides League/oauth2-client provider and resources to communicate specifically with the Yahoo! Fantasy Sports API. The YahooFantasyService provides basic calls to Games, Leagues and Teams collections; custom calls can be made through the as well. Data is returned as: League/oauth2-client/ResourceOwnerInterface

Installation
------------

[](#installation)

Package is available on composer:

```
"require": {
  "composer/installers": "v1.4.0",
  "kenjdavidson/oauth-yahoofantasysports": "dev-master"
}
```

Development
-----------

[](#development)

To get the project:

1. fork/clone
2. install composer ()
3. go

### Prerequisites

[](#prerequisites)

The following are required:

1. Composer

Running the tests
-----------------

[](#running-the-tests)

Examples and Tests (todo) are available for a number of resources.

### Examples

[](#examples)

Currently the examples are physical pages that need to be manually loaded and validated. This is a painful process but I didn't have much experience with PHP at the time and hadn't gotten around to writing tests. I'm thinking of coming back to this project to get a little more experience so actual tests may be incoming.

```
/index.php - Displays the link to request OAuth2 or the token itself.
/config.php - Requires creation, follow structure in index.php
/games.php - Displays games JSON
/leagues.php - Displays leagues JSON
/teams.php - Displays teams JSON

```

### Testing

[](#testing)

TODO - actually learn how to write PHP tests

Contributing
------------

[](#contributing)

Always looking for contributions, whether it be bug fixes, features or code review. Feel free to pull request if you feel like you're adding any kind of benefit.

License
-------

[](#license)

This project is licensed under the MIT License.

Acknowledgments
---------------

[](#acknowledgments)

- League/oauth2-client ()
- Hayageek/oauth2-yahoo ()

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~6 days

Total

4

Last Release

3136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68f2d1962156e01cab2efa4cf84a9820bb5c961011471f4846c86ccb38f67128?d=identicon)[kenjdavidson](/maintainers/kenjdavidson)

---

Top Contributors

[![kenjdavidson](https://avatars.githubusercontent.com/u/6210735?v=4)](https://github.com/kenjdavidson "kenjdavidson (27 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kenjdavidson-oauth-yahoofantasysports/health.svg)

```
[![Health](https://phpackages.com/badges/kenjdavidson-oauth-yahoofantasysports/health.svg)](https://phpackages.com/packages/kenjdavidson-oauth-yahoofantasysports)
```

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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