PHPackages                             njaaazi/laravel-fpl - 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. njaaazi/laravel-fpl

ActiveLibrary[API Development](/categories/api)

njaaazi/laravel-fpl
===================

Fantasy Premier League API wrapper for Laravel.

00[2 PRs](https://github.com/njaaazi/laravel-fpl/pulls)PHP

Since Aug 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/njaaazi/laravel-fpl)[ Packagist](https://packagist.org/packages/njaaazi/laravel-fpl)[ RSS](/packages/njaaazi-laravel-fpl/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Fantasy Premier League API wrapper for Laravel. (WIP, not ready for production use)
===================================================================================

[](#fantasy-premier-league-api-wrapper-for-laravel-wip-not-ready-for-production-use)

[![Tests](https://github.com/njaaazi/laravel-fpl/actions/workflows/tests.yml/badge.svg)](https://github.com/njaaazi/laravel-fpl/actions/workflows/tests.yml)[![codecov](https://camo.githubusercontent.com/ad9596866c6fe298ba81d2524ac7b186bcf747500dc22dd0a30a61b65480aa3b/68747470733a2f2f636f6465636f762e696f2f67682f6e6a6161617a692f6c61726176656c2d66706c2f67726170682f62616467652e7376673f746f6b656e3d46364244594a4a354534)](https://codecov.io/gh/njaaazi/laravel-fpl)[![Latest Version on Packagist](https://camo.githubusercontent.com/27e11878d763e36baaa7c638ea2577cd62ed21835271fafcb7187b660cfffc7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6a6161617a692f6c61726176656c2d66706c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/njaaazi/laravel-fpl)[![Total Downloads](https://camo.githubusercontent.com/35608442b84c020153eb7b0c9b8db35f88ec9f78187178819ed0e0c6e7d328de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6a6161617a692f6c61726176656c2d66706c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/njaaazi/laravel-fpl)

Fantasy Premier League API wrapper for Laravel.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require njaaazi/laravel-fpl
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-fpl-config"
```

This is the contents of the published config file:

```
return [
    "base-url" => env(
        "FPL_BASE_URL",
        "https://fantasy.premierleague.com/api",
    ),
];
```

Usage
-----

[](#usage)

```
use Njaaazi\Fpl\FplClient;

$fpl = new FplClient;

$generalInfo = $fpl->generalInfo();
$allFixtures = $fpl->allFixtures();
```

### Using Facade

[](#using-facade)

```
use Njaaazi\Fpl\Facades\Fpl;

$generalInfo = Fpl::generalInfo();
$allFixtures = Fpl::allFixtures();
```

Testing
-------

[](#testing)

```
vendor/bin/phpunit
```

or

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Njazi Shehu](https://github.com/njaaazi)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65.7% 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/01ea2b5a7f7f13c213137d98806c64f00d0bd8628b237a8bbb07f747b14a581c?d=identicon)[njaaazi](/maintainers/njaaazi)

---

Top Contributors

[![njaaazi](https://avatars.githubusercontent.com/u/6045163?v=4)](https://github.com/njaaazi "njaaazi (44 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")

### Embed Badge

![Health badge](/badges/njaaazi-laravel-fpl/health.svg)

```
[![Health](https://phpackages.com/badges/njaaazi-laravel-fpl/health.svg)](https://phpackages.com/packages/njaaazi-laravel-fpl)
```

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