承接 fut/calculator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fut/calculator

Composer 安装命令:

composer require fut/calculator

包简介

Fifa Ultimate Team player information calculator.

README 文档

README

You can get all id information (resource, definition, asset) for Fifa 14 Ultimate Team player based on one of it.

composer.json

    require {
        "fut/calculator": "dev-master"
    }

Example: (also see example.php)

    require_once __DIR__ . "/autoload.php";

    // test data cristiano ronaldo
    $assetId = 20801;
    $resourceId = 1711296833;
    $definitionId = 100684097;

    // start calculator with the asset id and get the resource id
    $calc = new Fut\Calculator($assetId);
    echo $calc->getResourceId() . PHP_EOL . PHP_EOL;

    // init the calc without asset id, set resource id and get all information
    $calc = new Fut\Calculator();
    $calc->setResourceId($resourceId);
    echo "current version: " . $calc->getCurrentVersion() . PHP_EOL;
    echo "asset id: " . $calc->getAssetId() . PHP_EOL;
    echo "resource id (version 1): " . $calc->getResourceId() . PHP_EOL;
    echo "definition id: " . $calc->getDefinitionId() . PHP_EOL . PHP_EOL;

    // same as last but only based on the definition id
    $calc = new Fut\Calculator();
    $calc->setDefinitionId($definitionId);
    echo "current version: " . $calc->getCurrentVersion() . PHP_EOL;
    echo "asset id: " . $calc->getAssetId() . PHP_EOL;
    echo "resource id (version 2): " . $calc->getResourceId(2) . PHP_EOL;
    echo "definition id: " . $calc->getDefinitionId() . PHP_EOL . PHP_EOL;

统计信息

  • 总下载量: 38
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固