Download the PHP package activecollab/activecollab-feather-sdk without Composer
On this page you can find all versions of the php package activecollab/activecollab-feather-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download activecollab/activecollab-feather-sdk
More information about activecollab/activecollab-feather-sdk
Files in activecollab/activecollab-feather-sdk
Package activecollab-feather-sdk
Short Description This is a simple PHP library that makes communication with Active Collab API easy
License MIT
Homepage https://github.com/activecollab/activecollab-feather-sdk
Informations about the package activecollab-feather-sdk
PHP SDK for ActiveCollab 5 and 6 API
This is a simple PHP library that makes communication with Active Collab API easy.
Installation
If you choose to install this application with Composer instead of pulling down the git repository you will need to add a composer.json file to the location you would like to pull the repository down to featuring:
Run a composer update
to install the package.
Note: If you used an older version of Active Collab API wrapper and loaded it using dev-master
, lock it to version 2.0 by setting require statement to ^2.0
and calling composer update
.
Connecting to Active Collab Cloud Accounts
Connecting to Self-Hosted Active Collab Accounts
SSL problems?
If curl complains that SSL peer verification has failed, you can turn it off like this:
Note: Option to turn off SSL peer verification has been added in Active Collab SDK 3.1.
Constructing a client instance
Once we have our token, we can construct a client and make API calls:
Listing all tasks in project #65 is easy. Just call:
To create a task, simply send a POST request:
To update a task, PUT request will be needed:
post()
and put()
methods can take two arguments:
command
(required) - API command,variables
- array of request variables (payload)
To remove a task, call:
delete()
method only requires command
argument to be provided.
For full list of available API command, please check Active Collab API documentation.
All versions of activecollab-feather-sdk with dependencies
ext-json Version *
php Version >=5.6.0