2017 © Pedro Peláez
 

library php-tick

A PHP client for Tickspot API v2

image

jobsity/php-tick

A PHP client for Tickspot API v2

  • Tuesday, March 28, 2017
  • by jobsity
  • Repository
  • 15 Watchers
  • 2 Stars
  • 44 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP Tick

A PHP client for Tickspot API. Currently supports v2 of the API., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Requirements

  • PHP >= 5.5.0
  • guzzlehttp/guzzle ^6.0
  • mefworks/log ^1.0

Development Requirements

  • phpunit/phpunit ^4.6.0

Available endpoints

  • Entry
  • Task
  • Project

How to use

Credentials

Get your access token and subscription ID from Tickspot, (*3)

API calls

All calls to Tickspot's API are made over HTTPS protocol., (*4)

Example

// Make sure you require autoload file somewhere
require_once "../vendor/autoload.php";

use Jobsity\PhpTick\Tick;

// Get instance of Tick client
$tick = Tick::getInstance($subscriptionId, $accessToken, 'CompanyName', 'company@email.com');

// Start using the api

// Get entries created after 2015-11-14
$tick->entry->getList('2015-11-14');

// Get entry by its id
$tick->entry->get($entryId);

// Create entry with required parameters: hours, date, notes and task which entry belongs
$tick->entry->create(5, '2015-11-14', 'notes', '687756');

// Update entry atributes, with entry id as first parameter and hours as parameter for update
$tick->entry->update('56565', 3);

// Delete entry by its id
$tick->entry->delete($entryId);

The Versions

28/03 2017

dev-develop

dev-develop

A PHP client for Tickspot API v2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jose Torres
by Yudeikis Orta

18/03 2017

dev-master

9999999-dev

A PHP client for Tickspot API v2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jose Torres
by Yudeikis Orta

18/11 2015

1.0.0

1.0.0.0

A PHP client for Tickspot API v2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jose Torres
by Yudeikis Orta