PHPackages                             indexeddk/headless - 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. indexeddk/headless

ActiveLibrary[API Development](/categories/api)

indexeddk/headless
==================

Headless wrapper to REST api

1.08(1y ago)01.2kMITPHPPHP &gt;=7.2.0

Since Apr 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Indexeddk/headless)[ Packagist](https://packagist.org/packages/indexeddk/headless)[ Docs](https://indexed.dk)[ RSS](/packages/indexeddk-headless/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (10)Used By (0)

```
# Headless docs

```

Helper for the headless micro service platform

Authentication
--------------

[](#authentication)

Use the key, secret and token in the Headless constructor to login to the REST api and then set the url if it's different that the default server.

```
$headless = new Indexed\Headless\Request('ck_key', 'cs_secret', 'pt_token');
$headless->setUrl('https://head01.webfamly.com/v1');

```

Get list of products
--------------------

[](#get-list-of-products)

When fetching the products, make a GET request to the endpoints /products

```
$response = $headless->get('/products');

```

Create a new product
--------------------

[](#create-a-new-product)

Make a POST to /products to create a new product.

```
$data = [
    'Brand new product',
];

$response = $headless->post('/products', $data);

```

Update existing product
-----------------------

[](#update-existing-product)

Make a PATCH to /products with the item id that needs modification

```
$patch = [
    'New product name',
];

$response = $headless->patch('/products/'.$data->id, $patch);

```

Get existing product by id
--------------------------

[](#get-existing-product-by-id)

```
$response = $headless->get('/products/'.$data->id);

```

Handling errors
---------------

[](#handling-errors)

If a request fails it will return an error in the json object

```
echo $response->error;

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~203 days

Recently: every ~339 days

Total

9

Last Release

586d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/35c6da4ddfb2406bec8b54227ff195a40f91ca87fd3e51bb727acfe97ceb2399?d=identicon)[consolari](/maintainers/consolari)

---

Top Contributors

[![consolari](https://avatars.githubusercontent.com/u/6552945?v=4)](https://github.com/consolari "consolari (19 commits)")

---

Tags

headless

### Embed Badge

![Health badge](/badges/indexeddk-headless/health.svg)

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

###  Alternatives

[jcalderonzumba/gastonjs

PhantomJS API based server for webpage automation

13111.1M72](/packages/jcalderonzumba-gastonjs)[aimeos/aimeos-headless

Aimeos headless ecommerce system

2.5k2.3k](/packages/aimeos-aimeos-headless)[getkirby/kql

Kirby Query Language

15124.3k](/packages/getkirby-kql)[kontent-ai/delivery-sdk-php

Kontent.ai Delivery SDK for PHP

4628.8k](/packages/kontent-ai-delivery-sdk-php)[johannschopplich/kirby-headless

API-first toolkit for Kirby CMS

4414.1k](/packages/johannschopplich-kirby-headless)[luyadev/luya-headless

LUYA headless API client

1025.6k3](/packages/luyadev-luya-headless)

PHPackages © 2026

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