dev-master
9999999-devPHP API for the Float Resourcing App
MIT
The Requires
The Development Requires
by Daniel Ness
PHP API for the Float Resourcing App
Float API for PHP (https://www.float.com/), (*1)
You can install this library via Composer:, (*2)
composer require 6by6/float-api
, (*3)
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();
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");
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);
We have covered the following entities:, (*8)
PHP API for the Float Resourcing App
MIT