Download the PHP package wedocreatives/wrike-php-library without Composer

On this page you can find all versions of the php package wedocreatives/wrike-php-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wrike-php-library

Wrike PHP LIBRARY - Wrike API V3 & V4

Introduction

This is generic library for Wrike (online project management software) REST API.

This package contains general documentation for all features. This package is decoupled from unnecessary dependencies and can't be used without additional HTTP Client plugin.

Versions

Major Version Wrike API PHP Compatibility Initial release Support
V3 V4 PHP 7.1, PHP 7.2, TBD October, 2018 TBD
V2 V4 PHP 5.5, PHP 5.6, PHP 7.0, PHP 7.1 October, 2018 Support ends on October, 2019
V1 V3 PHP 5.5, PHP 5.6, PHP 7.0, PHP 7.1 February, 2018 Support ends on February, 2019

Project status

General

Packagist License Packagist Downloads Packagist Version Packagist Version Libraries.io

CII Best Practices SensioLabsInsight Codacy Badge Code Climate Maintainability

Branch 'master'

Scrutinizer Code Quality Scrutinizer Build Status Scrutinizer Code Coverage Travis Build Status StyleCI Coverage Status

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Contribution

To try it yourself clone the repository:

and install dependencies with composer:

Run PHPUnit tests:

Usage

All operations are immutable and stateless.

Response transformers

Response can be returned in various formats according to used response transformer

Transformer Response Comment
PsrResponseTransformer Psr\Http\Message\ResponseInterface PSR response
PsrBodyTransformer Psr\Http\Message\StreamInterface PSR response body
StringBodyTransformer JSON string PSR response body casted to JSON string
ArrayBodyTransformer array PSR response body casted to array
ResponseModelTransformer ResponseModelInterface check Response transformer plugin
ResourceModelTransformer ResourceModelInterface check Response transformer plugin

ENUM's

wedocreatives\WrikePhpLibrary\Enum\Api

namespace wedocreatives\WrikePhpLibrary\Enum

Breaking Changes

V2.x due to changes in Wrike API V4

Request Replacement / Description
$api->getAccountResource()->getAll(); Now returns only one (current) account
$api->getAccountResource()->getById($accountId); Removed
$api->getAccountResource()->update($accountId, $params); $api->getAccountResource()->updateDefault($params);
$api->getAttachmentResource()->getAllForAccount($accountId); $api->getAttachmentResource()->getAll();
$api->getCommentResource()->getAllForAccount($accountId); $api->getCommentResource()->getAll();
$api->getContactResource()->getAllForAccount($accountId); $api->getContactResource()->getAll();
$api->getCustomFieldResource()->getAllForAccount($accountId); $api->getCustomFieldResource()->getAll();
$api->getCustomFieldResource()->createForAccount($accountId, $params); $api->getCustomFieldResource()->create($params);
$api->getFolderResource()->getAllForAccount($accountId); $api->getFolderResource()->getAll();
$api->getGroupResource()->getAllForAccount($accountId); $api->getGroupResource()->getAll();
$api->getGroupResource()->createForAccount($accountId, $params); $api->getGroupResource()->create($params);
$api->getInvitationResource()->getAllForAccount($accountId); $api->getInvitationResource()->getAll();
$api->getInvitationResource()->createForAccount($accountId, $params); $api->getInvitationResource()->create($params);
$api->getTaskResource()->getAllForAccount($accountId); $api->getTaskResource()->getAll();
$api->getTimelogResource()->getAllForAccount($accountId); $api->getTimelogResource()->getAll();
$api->getWorkflowResource()->getAllForAccount($accountId); $api->getWorkflowResource()->getAll();
$api->getWorkflowResource()->createForAccount($accountId, $params); $api->getWorkflowResource()->create($params);

V3.x due to refactoring for PHP >=7.1

Deprecated methods New methods
$api->getAccountResource(); $api->account();
$api->getAttachmentResource(); $api->attachments();
$api->getColorResource(); $api->colors();
$api->getCommentResource(); $api->comments();
$api->getContactResource(); $api->contacts();
$api->getCustomFieldResource(); $api->customFields();
$api->getDependencyResource(); $api->dependencies();
$api->getFolderResource(); $api->folders();
$api->getGroupResource(); $api->groups();
$api->getIdResource(); $api->ids();
$api->getInvitationResource(); $api->invitations();
$api->getTaskResource(); $api->tasks();
$api->getTimelogResource(); $api->timelogs();
$api->getTimelogCategoryResource(); $api->timelogCategories();
$api->getUserResource(); $api->users();
$api->getVersionResource(); $api->version();
$api->getWorkflowResource(); $api->workflows();

Reference

Internal

Full configured Wrike PHP SDK

Full configured Symfony bundle based on Wrike PHP SDK

Response transformer plugin for Wrike PHP Library

HTTP Client plugin for Wrike PHP Library

External

Official Wrike API Documentation

PSR Naming Conventions

Package general architecture inspired by mpclarkson/freshdesk-php-library

License

This bundle is available under the MIT license.


All versions of wrike-php-library with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1,<7.3
psr/http-message Version >=1.0,<2.0
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wedocreatives/wrike-php-library contains the following files

Loading the files please wait ....