PHPackages                             tribe/api - 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. tribe/api

AbandonedLibrary[API Development](/categories/api)

tribe/api
=========

JSON API for Tribe (v3)

v1.1.6(1y ago)02814GPL-3.0-or-laterPHP

Since May 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tribe-framework/tribe-api)[ Packagist](https://packagist.org/packages/tribe/api)[ RSS](/packages/tribe-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (50)Used By (0)

Wildfire Tribe Server-side JSON API
===================================

[](#wildfire-tribe-server-side-json-api)

JSON API implementation based on

Usage
-----

[](#usage)

### To authorise

[](#to-authorise)

1. Authorise yourself with Basic HTTP authentication, using API Key (as username) and API Secret (as password) generated from Junction.
2. Save the array returned. The array has a column called "access\_token". This is the Bearer access token to be used to access data.

### Data handling

[](#data-handling)

#### Read Single object

[](#read-single-object)

GET request on `/api/$type/$slug` or `/api/$id`

#### Read Multiple objects of one $type or search

[](#read-multiple-objects-of-one-type-or-search)

GET request on `/api/$type` or `/api/search`

##### Pagination

[](#pagination)

GET request on `/api/$type?index=0&limit=25`

##### Sorting

[](#sorting)

##### Filtering

[](#filtering)

Data can be cherry picked passing the "filter" query in URL with the desired data.
`GET` request using `?filter=name,age,location,email`

#### To *create* record

[](#to-create-record)

POST request on `/api/$type`preferably include: user\_id (of creator) and content\_privacy

#### To *edit/update* record

[](#to-editupdate-record)

PATCH request on `/api/$type/$slug` or `/api/$type/$id`

#### To *delete* record

[](#to-delete-record)

DELETE request on `/api/$type/$slug` or `/api/$type/$id`mandatory to include: user\_id (of creator)

#### Upload interface

[](#upload-interface)

**POST** `/api/file-upload`

1. Include the js file `tribe_upload.js` under `dist` in your project (or use it as a reference to implement your own)
2. create a button that you want to program for upload with a `data-target='#input-file'` ('#input-file' can be anything you want, but mention a target)
3. Initialize the code by passing selector of your event initiator (i.e. button created in step 2) and defining the api URL `tribeUploadUrl`

```

    Submit

```

```
tribeUploadButton('#form-submit');
let tribeUploadUrl = '/api/file-upload'
```

### Important info

[](#important-info)

- A type cannot be deleted or modified using API. The only way to modify types is by modifying config/types.json in your Tribe root directory.
- Multple records cannot be deleted or modified using API.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance49

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~10 days

Total

46

Last Release

372d ago

Major Versions

v0.2 → v1.0.02022-12-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/178598774b353ed0e762bbcff9c296de5343647645f7384494d0d9d1625b35f6?d=identicon)[akshay.wildfire](/maintainers/akshay.wildfire)

![](https://www.gravatar.com/avatar/5cb2cab3fe1b63507a1ff4a86bbff2e016e32d32f6397eae864e0a0cf8b62b88?d=identicon)[apurv.wildfire](/maintainers/apurv.wildfire)

---

Top Contributors

[![cityowltypes](https://avatars.githubusercontent.com/u/58645007?v=4)](https://github.com/cityowltypes "cityowltypes (67 commits)")[![apjyotirmay](https://avatars.githubusercontent.com/u/8706789?v=4)](https://github.com/apjyotirmay "apjyotirmay (48 commits)")

### Embed Badge

![Health badge](/badges/tribe-api/health.svg)

```
[![Health](https://phpackages.com/badges/tribe-api/health.svg)](https://phpackages.com/packages/tribe-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
