PHPackages                             jasonroman/nba-api - 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. [API Development](/categories/api)
4. /
5. jasonroman/nba-api

ActiveLibrary[API Development](/categories/api)

jasonroman/nba-api
==================

PHP Library to request data from various endpoints on NBA websites

1.0.7(8y ago)994.6k14[6 issues](https://github.com/jasonroman/nba-api/issues)MITPHPPHP &gt;=7.0

Since Sep 27Pushed 8y ago11 watchersCompare

[ Source](https://github.com/jasonroman/nba-api)[ Packagist](https://packagist.org/packages/jasonroman/nba-api)[ Docs](http://nbasense.com/nba-api/)[ RSS](/packages/jasonroman-nba-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (8)Versions (9)Used By (0)

NBA API Library
===============

[](#nba-api-library)

[![Build Status](https://camo.githubusercontent.com/46f483261c5ec997795bb31bd2b8fd46bdd73a610ee5d2d1529afbbffaa0517a/68747470733a2f2f7472617669732d63692e6f72672f6a61736f6e726f6d616e2f6e62612d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jasonroman/nba-api)

This is a PHP library used to access data across various endpoints on NBA websites. The full documentation can be found at . This contains installation instructions, usage examples, and runnable/filterable reporting on all endpoints.

### Troubleshooting

[](#troubleshooting)

If you are having trouble retrieving requests that access **stats.nba.com/stats/**, it appears that the NBA has blocked off access to these endpoints on some level; this blocking seems to occur on many cloud hosting providers such as Amazon AWS, Digital Ocean, and Heroku.

In my testing, these endpoints have always worked when developing locally.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~29 days

Recently: every ~50 days

Total

8

Last Release

2984d ago

PHP version history (2 changes)1.0PHP ^7.0

1.0.7PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2953795?v=4)[Jason Roman](/maintainers/jasonroman)[@jasonroman](https://github.com/jasonroman)

---

Top Contributors

[![jasonroman](https://avatars.githubusercontent.com/u/2953795?v=4)](https://github.com/jasonroman "jasonroman (98 commits)")

---

Tags

apinba

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jasonroman-nba-api/health.svg)

```
[![Health](https://phpackages.com/badges/jasonroman-nba-api/health.svg)](https://phpackages.com/packages/jasonroman-nba-api)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M517](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19564.8M1.6k](/packages/drupal-core)

PHPackages © 2026

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