Baseball Team Statistics Tracker

I recently wrote a baseball statistics tracker suitable for tracking a baseball team over a season or however long. Its source can be found at its github page. It was written in PHP and MySQL in a few hours and it gets the job done reasonably well.

Baseball Stats page

None of the input is validated, so it would not be wise to place add_batter.php or add_pitcher.php in a public directory. And it would be wise to double check added info.

Metrics Used

Pitching

  • ERA
  • Wins/Losses
  • IP
  • WHIP
  • H/7
  • BB/7
  • SO/7
  • SO/BB
  • Hits
  • Walks
  • Hit Batsmen
  • Strikeouts
  • Games
  • Saves
  • Batters Faced

Batting

  • OBP
  • AVG
  • SLG
  • OPS
  • Runs Created
  • PA
  • Hits
  • Walks
  • Strikeouts
  • Total Bases
  • HBP
  • 2B
  • 3B
  • HR
  • RBI
  • Sacrifices
  • Runs
  • Stolen Bases
  • Caught Stealing
  • SB %
  • Times on Base

No feedback yet