PHPackages                             naymin/football-data - 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. naymin/football-data

ActiveLibrary[API Development](/categories/api)

naymin/football-data
====================

football-data.org API Version 2 Container For Laravel

08PHP

Since Aug 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nayminhtwe/FootballData)[ Packagist](https://packagist.org/packages/naymin/football-data)[ RSS](/packages/naymin-football-data/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

FootballData
============

[](#footballdata)

football-data.org API Version 2 Container For Laravel

Requirements
------------

[](#requirements)

- "guzzlehttp/guzzle": "~6.0"

Install
-------

[](#install)

Via Composer

```
$ composer require grambas/football-data dev-master
```

Usage
-----

[](#usage)

More about filters, structure and API: [football-data.org Documentation](http://api.football-data.org/documentation)

Add your api key to env. file

```
FootballData_API_KEY=

```

add to config/app.php

```
'providers' => [
  Grambas\FootballData\FootballDataServiceProvider::class,
]

'aliases' => [
  'Football' => Grambas\FootballData\Facades\FootballDataFacade::class,
]

```

Examples
--------

[](#examples)

```
//COMPETITION

Football::LeagueTable($id) 			 	//Show League Table / current standing
Football::LeagueTable($id,$matchday) 	//Show League Table / current standing with filters

Football::getLeagues(); 				//List all available competitions.
Football::getLeagues($year);			//List all available competitions with filter

Football::getLeagueTeams($id)  			//List all teams for a certain competition.

//FIXTURES

Football::getCompetitionFixtures($id)   //List all fixtures for a certain competition.
Football::getCompetitionFixtures($id,$matchday,$timeFrame)  //List all fixtures for a certain competition with filters.

Football::getFixture($id) 				//Show one fixture.
Football::getFixture($id, $head2head)   //Show one fixture. Variable head2head ist number of games to analyse

Football::getFixturesOfSet() 			//List fixtures across a set of competitions
Football::getFixturesOfSet($leagueCode, $timeFrame) //List fixtures across a set of competitions with filters

Football::getTeamFixtures($id) 			// 	Show all fixtures for a certain team.
Football::getTeamFixtures($id, $season, $timeFrame, $venue) // 	Show all fixtures for a certain team with filters. Example:Football::getTeamFixtures(66, "2015","n99","home")

//TEAM
Football::getTeam($id) 					//Show one team.

//PLAYERS
Football::getTeamPlayers($id) 			//Show all players for a certain team.
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d16e7592f42a18abbbe067071c297b9bee8009351ff90a0dcf7319bee24047ed?d=identicon)[nayminhtwe](/maintainers/nayminhtwe)

---

Top Contributors

[![nayminhtwe](https://avatars.githubusercontent.com/u/4786006?v=4)](https://github.com/nayminhtwe "nayminhtwe (5 commits)")

### Embed Badge

![Health badge](/badges/naymin-football-data/health.svg)

```
[![Health](https://phpackages.com/badges/naymin-football-data/health.svg)](https://phpackages.com/packages/naymin-football-data)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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