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

ActiveLibrary[API Development](/categories/api)

naymin/api-football
===================

api-football.com API container for laravel(Highly Inspired by grambas/football-data)

1232PHP

Since Aug 20Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

:api-football.com
=================

[](#api-footballcom)

api-football.com API Container for Laravel (Highly Inspired by grambas/football-data)

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

[](#requirements)

- "guzzlehttp/guzzle": "~6.0"

Install
-------

[](#install)

Via Composer

```
$ composer require naymin/api-football
```

Usage
-----

[](#usage)

More about filters, structure and API: [api-football.com Documentation](https://www.api-football.com/documentation)

Add your api key to env. file

```
APIFOOTBALL_API_KEY=

```

add to config/app.php

```
'providers' => [
  Naymin\APIfootball\APIFootballServiceProvider::class,
]

'aliases' => [
  'Football' =>Naymin\APIfootball\Facades\APIFootballFacade::class,
]

```

Examples
--------

[](#examples)

```
##COMPETITION/LEAGUE

/**
 * List one particular competition.
 *
 * @param integer $leagueID
 * @return Collection
 */
Football::getLeague(int $leagueID)

/**
 * Show Standings for a particular competition

 * @param integer $leagueID
 * @return Collection
 */
Football::getLeagueStandings(int $leagueID)

/**
 * List all matches for a particular competition.
 *
 * @param integer $leagueID
 * @return Collection
 */
Football::getLeagueMatches(int $leagueID)

##FIXTURES/MATCHES

/**
 * List matches across (a set of) competitions.
 *
 * @return Collection
 */
Football::getMatches()

/**
 * Show one particular match.
 *
 * @param integer $matchID
 * @return Collection
 */
Football::getMatche(int $matchID)

##TEAM

/**
 * Show one particular team.
 *
 * @param integer $teamID
 * @return Collection
 */
Football::getTeam(int $teamID)

/**
 * Show all matches for a particular team.
 *
 * @param integer $teamID
 * @return Collection
 */
Football::getMatchesForTeam(int $teamID)

/**
 * List all matches for a particular competition wthdate
 *
 * @param integer $leagueID
 * @param date $date
 * @return Collection
 */
Football::getLeagueMatchesWithDate(int $leagueID,$date)
```

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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 (6 commits)")

### Embed Badge

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

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

###  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)
