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 2w ago

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 9% 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://avatars.githubusercontent.com/u/4786006?v=4)[nayminhtwe](/maintainers/nayminhtwe)[@nayminhtwe](https://github.com/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

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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