PHPackages                             roanuz/php-cricket - 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. roanuz/php-cricket

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

roanuz/php-cricket
==================

This is php-cricket library to show Cricket Live Scores, IPL, T20, etc.

v1.0.0(7y ago)365411[1 issues](https://github.com/roanuz/php-cricket/issues)[1 PRs](https://github.com/roanuz/php-cricket/pulls)Apache-2.0PHPPHP &gt;=5.3.0

Since Jan 17Pushed 5y ago6 watchersCompare

[ Source](https://github.com/roanuz/php-cricket)[ Packagist](https://packagist.org/packages/roanuz/php-cricket)[ RSS](/packages/roanuz-php-cricket/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

phpCricket library for Roanuz Cricket API
=========================================

[](#phpcricket-library-for-roanuz-cricket-api)

phpCricket library for Php using Roanuz Cricket API's. Easy to install and simple way to access all Roanuz Cricket API's. Its a Php library for showing Live Cricket Score, Cricket Schedule and Statistics.

Get Started
-----------

[](#get-started)

1. Clone the php-Cricket Github project by using `https://github.com/roanuz/php-cricket.git`

    ```
                                 [OR]

    ```

    Install the phpCricket using Composer. Follow the below instructions.

    i) Download and install Composer by following the [official instructions.](https://getcomposer.org/download/)
    ii) Create a composer.json defining your dependencies inside your project root directory.

    ```
    // Copy this content into your composer.json file.

    {
     "repositories": [
         {
             "url": "https://github.com/roanuz/php-cricket.git",
             "type": "git"
         }
     ],
       "minimum-stability" : "dev",
       "prefer-stable" : true,
       "require-dev": {
         "roanuz/php-cricket": "dev-master"
       }
    }
    ```

    iii) Run Composer: `composer require --dev roanuz/php-cricket`

    iv) You can find the phpCricket library`(roanuz/php-cricket)` inside the vendor folder.
2. Create a Cricket API App here [My APP Login](https://www.cricketapi.com/login/?next=/apps/)
3. Pass the required app credentials as below.

    Config Section
    --------------

    [](#config-section)

    ```
    // Create a new php file under your root directory. Inside that use this code.

    require_once __DIR__ . '/vendor/autoload.php';

    $phpCricket = new PhpCricket\PhpCriclib('your_access_key', 'your_secret_key', 'your_app_id', 'unique_device_id');
    ```
4. After Completing Authentication you can successfully access the API's.

    Example
    -------

    [](#example)

    ```

    // For getting particular match details.

    $getMatch = $phpCricket->getMatch('dev_season_2014_q1', 'summary_card');
    echo json_encode($getMatch); //Return Match Information in JSON format

    // For getting schedule details
    $getSchedule = $phpCricket->getSchedule('2013-05');
    echo json_encode($getSchedule); // Return Schedule Information in JSON format
    ```

To get the Live Score updates, you need to purchase the plan on [CricketAPI Plans](https://www.cricketapi.com/plans/)

### Need More Code reference ?

[](#need-more-code-reference-)

Dive in to this file. [Example Code to Access Roanuz Cricket API's](https://github.com/roanuz/php-cricket/blob/master/example.php)

### Here is List of Roanuz Cricket API's

[](#here-is-list-of-roanuz-cricket-apis)

- [Match API](https://www.cricketapi.com/docs/match_api/)
- [Ball By Ball API](https://www.cricketapi.com/docs/ball_by_ball_api/)
- [Recent Matches API](https://www.cricketapi.com/docs/recent_match_api/)
- [Recent Season API](https://www.cricketapi.com/docs/recent_season_api/)
- [Schedule API](https://www.cricketapi.com/docs/schedule_api/)
- [Player Stats API](https://www.cricketapi.com/docs/player_stats_api/)
- [Season API](https://www.cricketapi.com/docs/season_api/)
- [Season Stats API](https://www.cricketapi.com/docs/season_stats_api/)
- [Season Player Stats API](https://www.cricketapi.com/docs/Core-API/Season-Player-Stats-API/)
- [Season Points API](https://www.cricketapi.com/docs/season_points_api/)
- [Season Team API](https://www.cricketapi.com/docs/season_team_api/)
- [Over Summary API](https://www.cricketapi.com/docs/over_summary_api/)
- [News Aggregation API](https://www.cricketapi.com/docs/news_aggregation_api/)

Roanuz Cricket API
------------------

[](#roanuz-cricket-api)

This Library uses the Roanuz Cricket API for fetching cricket scores and stats. Learn more about Litzscore Cricket API on  . Feel free to contact their amazing support team, if you got struck.

\###Support If you any question, please contact litzscore support

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~546 days

Total

2

Last Release

2175d ago

Major Versions

v1.0.0 → v4.x-dev2020-07-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/84a9cac35d7ea4112466092b2592623971aecda6849e2a71548b37dfb46a48a6?d=identicon)[itsmesudheer](/maintainers/itsmesudheer)

---

Top Contributors

[![SaiSudheerRz](https://avatars.githubusercontent.com/u/14230660?v=4)](https://github.com/SaiSudheerRz "SaiSudheerRz (15 commits)")[![binishkaspar](https://avatars.githubusercontent.com/u/623080?v=4)](https://github.com/binishkaspar "binishkaspar (1 commits)")

### Embed Badge

![Health badge](/badges/roanuz-php-cricket/health.svg)

```
[![Health](https://phpackages.com/badges/roanuz-php-cricket/health.svg)](https://phpackages.com/packages/roanuz-php-cricket)
```

PHPackages © 2026

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