2017 © Pedro Peláez
 

library float-api

PHP API for the Float Resourcing App

image

6by6/float-api

PHP API for the Float Resourcing App

  • Sunday, July 30, 2017
  • by daniel_ness
  • Repository
  • 4 Watchers
  • 1 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

float-sdk

Float API for PHP (https://www.float.com/), (*1)

Installation

You can install this library via Composer:, (*2)

composer require 6by6/float-api, (*3)

Get Started

Step 1

We're using the jms/serializer annotations for this project which need to be registered before they can be used. Depending on your platform there may be an existing solution (for example, Symfony has JMSSerializerBundle). There is further information regarding configuration here., (*4)

If you want to get setup quickly though, we've included the following shortcut., (*5)

\SixBySix\Float\Package::registerAnnotations();

Step 2

You'll need to grab your API key from Float (find out how here)., (*6)

use SixBySix\Float;

Float\FloatClient::setApiKey("INSERT_YOUR_API_KEY");

Step 3

You're ready to go., (*7)

use SixBySix\Float\Entity\Person;
use SixBySix\Float\Entity\Project;
use SixBySix\Float\Entity\Task;

$people = Person::getAll();

$projects = Project::getAllActive();

$task = Task::getById(123);


Entities

We have covered the following entities:, (*8)

Changelist

v0.0.1

  • First commit
  • Added read-only access to the following entities
    • Account
    • Client
    • Department
    • Holiday
    • Milestone
    • Person (People)
    • Project
    • Task

The Versions

30/07 2017

dev-master

9999999-dev

PHP API for the Float Resourcing App

  Sources   Download

MIT

The Requires

 

The Development Requires

by Daniel Ness