PHPackages                             garethellis/cricket-stats-helper - 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. garethellis/cricket-stats-helper

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

garethellis/cricket-stats-helper
================================

A simple PHP library for calculating cricket statistics such as batting average, bowling average and bowling economy. Can also convert number of overs bowled in scorecard notation to number of balls bowled, and vice-versa.

1.0(9y ago)0371PHPPHP &gt;=5.3.3

Since Jan 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/garethellis36/cricket-stats-helper)[ Packagist](https://packagist.org/packages/garethellis/cricket-stats-helper)[ RSS](/packages/garethellis-cricket-stats-helper/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Cricket Stats Helper
====================

[](#cricket-stats-helper)

[![Build Status](https://camo.githubusercontent.com/6e1dd7d68e36a83b24c8c96643c9363bd2208a001bfd231f95a1d34eaee3cf1f/68747470733a2f2f7472617669732d63692e6f72672f676172657468656c6c697333362f637269636b65742d73746174732d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/garethellis36/cricket-stats-helper)[![Code Climate](https://camo.githubusercontent.com/aa6905a78a11db223469b90c29b4b266ff6fc533464ee318daeb968365f778cf/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f676172657468656c6c697333362f637269636b65742d73746174732d68656c7065722f6261646765732f6770612e737667)](https://codeclimate.com/github/garethellis36/cricket-stats-helper)

A simple PHP library for calculating cricket statistics such as batting average, bowling average and bowling economy. Can also convert number of overs bowled in scorecard notation to number of balls bowled, and vice-versa.

Installation
============

[](#installation)

Install with composer, obvs:

```
$ composer require garethellis/cricket-stats-helper
```

Usage
=====

[](#usage)

To use the stats helper, simply create a new instance of it.

```
