PHPackages                             shapecode/fut-api - 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. shapecode/fut-api

AbandonedLibrary[API Development](/categories/api)

shapecode/fut-api
=================

FIFA WebApp API

19.0.0(6y ago)4643018[10 issues](https://github.com/shapecode/fut-api/issues)[2 PRs](https://github.com/shapecode/fut-api/pulls)GPL-3.0PHPPHP ~7.1CI failing

Since Jun 26Pushed 5y ago17 watchersCompare

[ Source](https://github.com/shapecode/fut-api)[ Packagist](https://packagist.org/packages/shapecode/fut-api)[ Docs](https://github.com/shapecode/fut-api)[ RSS](/packages/shapecode-fut-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (16)Versions (5)Used By (0)

FIFA 20 WebApp API
==================

[](#fifa-20-webapp-api)

Manage your FIFA 20 Ultimate Team using this FIFA 20 Ultimate Team API. Written solely in PHP

[![paypal](https://camo.githubusercontent.com/863cb4528d59447a96106e65c87541c857b3cc163ba9dd39edb9050bb5090618/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617970616c2d626c75652e737667)](http://paypal.me/nloges)

[![PHP Version](https://camo.githubusercontent.com/2b9d0afe44baa808e17de2c9b8450eb9bac31346bfe07987a3ce2358ce559115/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7368617065636f64652f6675742d6170692e737667)](https://packagist.org/packages/shapecode/fut-api)[![Latest Stable Version](https://camo.githubusercontent.com/c6e8600f98d5b5bb09943b446fe1b7f7df074fa9754031de500c589cf04429c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368617065636f64652f6675742d6170692e7376673f6c6162656c3d737461626c65)](https://packagist.org/packages/shapecode/fut-api)[![Latest Unstable Version](https://camo.githubusercontent.com/8f23bbfda0741a2c8020f8712ddf0fcbddb298a188f4a2701e7b955c4a6ac990/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f7368617065636f64652f6675742d6170692e7376673f6c6162656c3d756e737461626c65)](https://packagist.org/packages/shapecode/fut-api)[![Total Downloads](https://camo.githubusercontent.com/ba7cd12fedd2fff538fe40f2680422c093f471e6bcfe72fc4848669c96313ba3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368617065636f64652f6675742d6170692e737667)](https://packagist.org/packages/shapecode/fut-api)[![Monthly Downloads](https://camo.githubusercontent.com/2aa9a88b6c425b8b8b7a07a9993577311c93c0e3956e7c1af39919959fbe6290/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7368617065636f64652f6675742d6170692e7376673f6c6162656c3d6d6f6e74686c79)](https://packagist.org/packages/shapecode/fut-api)[![Daily Downloads](https://camo.githubusercontent.com/a028e24377b8beb76b679c72fdf3e550dddf82e8715d75619f8dd0eafce16124/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f7368617065636f64652f6675742d6170692e7376673f6c6162656c3d6461696c79)](https://packagist.org/packages/shapecode/fut-api)[![License](https://camo.githubusercontent.com/233fee4ea654e2b11a4519799dec74dc8af842b5f8760d16ed537fe543a1e07a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7368617065636f64652f6675742d6170692e737667)](https://packagist.org/packages/shapecode/fut-api)

Installing
----------

[](#installing)

The recommended way to install FIFA 20 WebApp API is through [Composer](http://getcomposer.org).

```
composer require shapecode/fut-api "~20.0@dev"
```

Contribute
----------

[](#contribute)

Don't be shy. Feel free to contribute and create pull-requests. There's a lot to do.

Usage
-----

[](#usage)

### Login

[](#login)

Login parameters:

- email: \[string\] email used for logging into the FIFA 20 WebApp
- password: \[string\] password used for logging into the FIFA 20 WebApp
- platform: \[string\] pc/ps4/ps4/xbox/xbox360
- code: \[string\] email code for two-step verification (make sure to use string if your code starts with 0).

```
use FUTApi\Api\Core;
use FUTApi\Exception\FutError;
use FUTApi\Api\Authentication\Account;
use FUTApi\Api\Authentication\Credentials;
use FUTApi\Api\Authentication\Session;

$credentials = new Credentials($email, $password, $platform);

// if you already have a valid session
$session = new Session($persona, $nucleus, $phishing, $session, $dob, $accessToken, $tokenType);

// otherwise
$session = null;

$account = new Account($credentials, $session);
$fut = new Core($account);

try {
    $login = $fut->login($code);
    $session = $account->getSession();
} catch(FutError $e) {
    $reason = $e->getReason();
    die("We have an error logging in: ".$reason);
}
```

After you have initiated your first session, you can then use the API wthout logging in again using the session info.

### Search

[](#search)

Optional parameters:

- min\_price: \[int\] Minimal price.
- max\_price: \[int\] Maximum price.
- min\_buy: \[int\] Minimal buy now price.
- max\_buy: \[int\] Maximum buy now price.
- level: \['bronze'/'silver'/gold'\] Card level.
- start: \[int\] Start page number.
- category: \['fitness'/'?'\] Card category.
- assetId: \[int\] assetId.
- defId: \[int\] defId.
- league: \[int\] League id.
- club: \[int\] Club id.
- position: \[int?/str?\] Position.
- zone: \['attacker'/'?'\] zone.
- nationality: \[int\] Nation id.
- rare: \[boolean\] True for searching special cards.
- playStyle: \[str?\] playStyle.
- page\_size: \[int\] Amount of cards on single page (changing this might be risky).

```
$options = [];
$items = $fut->search($options);
```

### Logout

[](#logout)

Replicates clicking the Logout button.

```
$fut->logout();
```

License
-------

[](#license)

GNU GPLv3

##### Forked

[](#forked)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2514d ago

### Community

Maintainers

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

---

Top Contributors

[![nicklog](https://avatars.githubusercontent.com/u/462920?v=4)](https://github.com/nicklog "nicklog (73 commits)")

---

Tags

apibotfifafifa-ultimate-teamfifa19futfut19apififafutfifa19

### Embed Badge

![Health badge](/badges/shapecode-fut-api/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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