PHPackages                             datalumo/php - 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. datalumo/php

ActiveLibrary

datalumo/php
============

Official PHP client for the Datalumo API

017↑2900%PHPCI passing

Since Jul 18Pushed todayCompare

[ Source](https://github.com/datalumo/php)[ Packagist](https://packagist.org/packages/datalumo/php)[ RSS](/packages/datalumo-php/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

datalumo/php
============

[](#datalumophp)

PHP client for the [Datalumo](https://datalumo.app) API.

Install
-------

[](#install)

```
composer require datalumo/php
```

Requires PHP 8.2+.

Quick start
-----------

[](#quick-start)

```
use Datalumo\Client;

$client = new Client(
    token: getenv('DATALUMO_TOKEN'),
    organisation: getenv('DATALUMO_ORG'), // organisation public id, not the slug
);

// Confirm the token and list sources
$me = $client->me()->get();

// Push a page (indexing is asynchronous)
$client->pages('docs')->upsert([
    'external_id' => 'post-42',
    'name' => 'Hello',
    'content' => '# Hello',
    'content_mime' => 'text/markdown',
    'source_url' => 'https://example.com/hello',
]);

// Search via a widget
$result = $client->widgets($widgetId)->search([
    'query' => 'how does pricing work',
    'limit' => 5,
]);

foreach ($result->data as $hit) {
    echo $hit->name;
}
```

Self-hosted:

```
$client = new Client(
    token: $token,
    organisation: $orgId,
    baseUrl: 'https://your-instance.example',
);
```

Next steps
----------

[](#next-steps)

- [API docs](https://datalumo.app/docs)
- Laravel package: [`datalumo/laravel`](https://github.com/datalumo/laravel)

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance65

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/66ca71465f93459010e10f39821b541f1c00c61233c48bcda0cea8a8d6fb6988?d=identicon)[jeffreyvr](/maintainers/jeffreyvr)

---

Top Contributors

[![jeffreyvr](https://avatars.githubusercontent.com/u/9550079?v=4)](https://github.com/jeffreyvr "jeffreyvr (1 commits)")

### Embed Badge

![Health badge](/badges/datalumo-php/health.svg)

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

PHPackages © 2026

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