spatie/laravel-float-sdk
A Laravel-friendly SDK for the Float.com API v3, with config publishing, API token and user-agent setup, and a FloatClient for interacting with the API. Not a full Float API implementation, but extensible via PRs.
FloatClient with publishable config and typed query-parameter objects (GetUsersParams, GetProjectsParams, GetAllocationsParams, etc.). Realistic saving is 2–5 engineering days versus hand-rolling the same calls with Saloon or plain HTTP. The win is not owning the plumbing and its tests — not unlocking a capability you couldn't otherwise build.users(), projects(), projectTasks(), clients(), allocations(), timeOff(), publicHolidays() — supports concrete features you can put on a roadmap today:
timeOff() + publicHolidays()).clients() with expand: ['projects']).page, perPage, default 50) but you own the loop and the rate-limit handling around it.Adopt when all of the following hold:
composer require, two .env variables (FLOAT_API_TOKEN, FLOAT_USER_AGENT), and an optional vendor:publish for config. No onboarding cost worth a meeting.composer test).Look elsewhere — or plan to fork — when any of these apply:
For executives — one paragraph: Float stays as our resourcing system of record. This is a small, free, MIT-licensed connector that lets our Laravel apps read resourcing data out of Float — who's allocated to what, who's on leave, which clients and projects are live — so we can build utilization dashboards, staffing-conflict alerts, and client reporting without a migration project or new vendor spend. Cost is a few engineering days; the alternative is the same work done by hand. It's deliberately narrow: it reads, it doesn't write, so it can't damage the data in Float. Risk is low and reversible — if it disappoints, we delete a package.
For engineering — the practical version:
FloatClient, injectable, config in .env plus a publishable float-sdk-config. No bespoke HTTP layer to write, test, or maintain.page, perPage), sort, fields projection, and expand for relationships. Projection and expand are the levers for keeping response sizes and API calls sane.Spatie\FloatSdk types directly.How can I help you explore Laravel packages today?