承接 willvincent/laravel-workfront 相关项目开发

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

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

willvincent/laravel-workfront

Composer 安装命令:

composer require willvincent/laravel-workfront

包简介

Provides Workfront API Operations to Laravel 5.x

README 文档

README

Perform all Operations of WorkFront APIs with Laravel 5.x

Installation

To get the latest version of laravel-workfront, simply add the following line to the require block of your composer.json file:

"willvincent/laravel-workfront": "dev-master"

You'll then need to run composer install or composer update to download it and have the autoloader updated.

Once added to your laravel project, you will want to add the service provider. Find the providers key in your config/app.php file and register the service provider:

'providers' => [
    // ...

    willvincent\Workfront\WorkfrontServiceProvider::class,
],

Also locate the Aliases key in your config/app.php file and register the Facade:

'aliases' => [
    // ...

    'Workfront' => willvincent\Workfront\Facades\WorkfrontFacade::class,
],

Finally, run php artisan vendor:publish to copy the default config into your app's config directory. Update the config with your proper credentials.

Usage

$client = Workfront::client();
$client->login();  // You can optionally pass username/email and password here, otherwise the values from the config file will be used.

// Fetch all fields for all projects with a status of CUR or PLN, that are less than 100% complete.
$results = $client->search(
  'project',                          // workfront object code
  array(                              // query
    'status' => array('CUR', 'PLN'),
    'status_Mod' => 'in',
    'percentComplete' => 100,
    'percentComplete_Mod' => 'lt'
  ),
  '*'                                 // fields (can also be an array of specific fields)
);

$client->logout();

You can find other Operations and API informattion here.

License

Laravel Workfront is licensed under The MIT License (MIT).

Credits

This is based on example code provided by Workfront, as part of their API Documentation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固