PHPackages                             danabrey/espn-ncaa-stats-scraper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. danabrey/espn-ncaa-stats-scraper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

danabrey/espn-ncaa-stats-scraper
================================

PHP package for scraping college football player stats from ESPN

1.0.0(6y ago)11MITPHPPHP ^7.1CI failing

Since Nov 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/danabrey/espn-ncaa-stats-scraper)[ Packagist](https://packagist.org/packages/danabrey/espn-ncaa-stats-scraper)[ RSS](/packages/danabrey-espn-ncaa-stats-scraper/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

ESPN NCAA Stats Scraper
=======================

[](#espn-ncaa-stats-scraper)

This PHP package scrapes stats for a college football player from ESPN. Based off of the equivalent [CBS scraper](https://www.github.com/danabrey/cbs-ncaa-stats-scraper).

[![Build Status](https://camo.githubusercontent.com/ba42de081a95672a17895d8ed2fdab7159e06f12237d57efac80755a3ad4906c/68747470733a2f2f7472617669732d63692e636f6d2f64616e61627265792f6573706e2d6e6361612d73746174732d736372617065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/danabrey/espn-ncaa-stats-scraper)

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

[](#installation)

Via Composer:

`composer require danabrey/espn-ncaa-stats-scraper`

Usage
-----

[](#usage)

Scrape a player's stats by passing their ESPN player ID (found in the URL e.g. `https://www.espn.co.uk/college-football/player/stats/_/id/4241463/jerry-jeudy`)

```
$scraper = new DanAbrey\ESPNNCAAStatsScraper\Scraper();
$stats = $scraper->getPlayerStats(4241463);

```

The return from `getPlayerStats` will be a `Player` object, which includes their ID, name and a `seasons` property which is an array of `PlayerSeason` objects, containing the stats for the player that season.

Disclaimer
----------

[](#disclaimer)

Scraping from websites without permission may be against Terms of Service. Use this package at your own discretion.

Contributing/Contact
--------------------

[](#contributingcontact)

Please feel free to raise issues or open pull requests with suggestions on how to improve this project. For any informal questions, find me on Twitter at [@danabrey](https://www.twiter.com/danabrey).

License
-------

[](#license)

[![License](https://camo.githubusercontent.com/1e1cb7bae9fc55a01fc5443d26e358dc21c129253bcfa9841db85c4f25aa2ecf/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e7376673f7374796c653d666c61742d737175617265)](http://badges.mit-license.org)

- **[MIT license](http://opensource.org/licenses/mit-license.php)**
- Copyright 2019 © Dan Abrey

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2413d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10567440?v=4)[Dan Abrey](/maintainers/danabrey)[@danabrey](https://github.com/danabrey)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/danabrey-espn-ncaa-stats-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/danabrey-espn-ncaa-stats-scraper/health.svg)](https://phpackages.com/packages/danabrey-espn-ncaa-stats-scraper)
```

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M335](/packages/api-platform-core)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[api-platform/symfony

Symfony API Platform integration

384.5M126](/packages/api-platform-symfony)[api-platform/serializer

API Platform core Serializer

274.8M84](/packages/api-platform-serializer)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k17](/packages/solspace-craft-freeform)[api-platform/openapi

Models to build and serialize an OpenAPI specification.

404.8M90](/packages/api-platform-openapi)

PHPackages © 2026

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