PHPackages                             activecollab/activecollab-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. activecollab/activecollab-sdk

ActiveLibrary[API Development](/categories/api)

activecollab/activecollab-sdk
=============================

This is a simple PHP library that makes communication with activeCollab API easy

1.0.5(12y ago)259.1k14[4 issues](https://github.com/activecollab/activecollab-sdk/issues)[1 PRs](https://github.com/activecollab/activecollab-sdk/pulls)MITPHP

Since May 11Pushed 10y ago8 watchersCompare

[ Source](https://github.com/activecollab/activecollab-sdk)[ Packagist](https://packagist.org/packages/activecollab/activecollab-sdk)[ Docs](https://www.activecollab.com/add-ons.html)[ RSS](/packages/activecollab-activecollab-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (7)Used By (0)

activeCollab SDK
================

[](#activecollab-sdk)

This is a simple PHP library that makes communication with [activeCollab 4 API](https://www.activecollab.com/help/books/api/index.html) easy. **If you are looking for a library that works with Active Collab 5 and newer, use [this package](https://github.com/activecollab/activecollab-feather-sdk) instead**.

First Connection
----------------

[](#first-connection)

Pull down the latest tag (`1.0.x`) for the following example. The `develop` branch is not to be used with activeCollab 4.2.x!

In order to connect, you will need API URL and API token.

To get these details, go to your user profile in your activeCollab and select **API Subscriptions** from **Options** drop-down. Click on **New Subscription** button and fill the form (client name is name of your app that will communicate with activeCollab via API). After you create API subscription for your application, click on the magnifier glass icon to open a dialog that will show you API URL and token for that subscription.

Now that you have API token and URL, you can test out this simple example:

```
