If you’re like us (smart) then you love ClickUp. Do you remember when Basecamp was the big thing in project management software? Good times, good times… but the world of collaboration has evolved, and the latest “big thing” is really big. Arguably the best software humanity has ever produced. Is that something a fanboy would say? Maybe it is… or a sellout, that’s also something somebody secretly being paid to write hidden advertising would say too. But hey I’m not here to convince you to use ClickUp, I’m here to tell you about how you can integrate ClickUp’s API with just about anything including WordPress and other PHP based applications.
Want to skip right to the code? You can find our ClickUp PHP SDK at saberwp/clickup-php-client: PHP Client for the ClickUp API (github.com) At this point it is still an early-stage work-in-progress, but the parts that are built have been tested fairly well and work if you’re willing to put a bit of time into it. This is a project we’d like to put more time into but unlike ClickUp itself we don’t have millions of dollars in funding. We have no dollars in funding, so this is something we put together instead of showering in the morning before the next 12-hour shift at the code mine.
This project can be called either an SDK for ClickUp or an API client. The terms tend to mean a fairly similar thing. When you have a REST API, you can typically absorb and utilize it using nearly any language, that’s what makes it work so well as a way to exchange data. However working directly with an API can still be very time-consuming and even though it’s easy enough to connect to the ClickUp API with CURL and just get raw responses back, then what? In the context of a real-world piece of software you probably want to have your data organized into objects that you can then work with more easily. That’s where an SDK or client layer comes in very handy.
We’ve used HTTPGuzzle in the ClickUp PHP SDK. If you’re familiar with HTTPGuzzle already you’ll find that’s a big help for being able to add on your own custom endpoints and further expands the scope. However even if you’ve never worked with HTTPGuzzle before, you’ll find it fairly intuitive and much of we’re building in the ClickUp PHP SDK doesn’t require direct interaction with HTTPGuzzle. Just know it’s something generally more solid and reliable than using CURL (it uses CURL as a fallback itself).