PHPackages                             statikbe/udb-helpers - 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. statikbe/udb-helpers

ActiveLibrary

statikbe/udb-helpers
====================

Helper &amp; authentication functions for uitdatabank

3.0.0(3mo ago)0563[1 issues](https://github.com/statikbe/php-udb-helpers/issues)MITPHP

Since Mar 1Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/statikbe/php-udb-helpers)[ Packagist](https://packagist.org/packages/statikbe/udb-helpers)[ RSS](/packages/statikbe-udb-helpers/feed)WikiDiscussions develop Synced today

READMEChangelogDependencies (1)Versions (23)Used By (0)

UDB Helpers for PHP
===================

[](#udb-helpers-for-php)

Installation
------------

[](#installation)

First, install the package through composer:

```
composer require statikbe/udb-helpers
```

EntryAPI Initialization
-----------------------

[](#entryapi-initialization)

```
use statikbe\udb\EntryAPI;
use statikbe\udb\Environments;

$udb = new EntryAPI(
    getenv("UDB_CLIENT_ID"), // Client ID
    getenv("UDB_CLIENT_SECRET"), // Client Secret
    '/var/www/path/to/your/jwt/token.json', // Path to where you're JWT token will be stored
    Environments::PROD // The package includes an enum for that sets endpoints based in environment
);
```

### Usage

[](#usage)

Once you've authenticated with the API, you can use the following functions:

#### Searching for places

[](#searching-for-places)

```
$udb->searchPlaces([]);
```

The function takes on array of potential search parameters, those can be found [here](https://docs.publiq.be/docs/uitdatabank/search-api/reference/operations/list-places)

#### Get all details for a specific place

[](#get-all-details-for-a-specific-place)

```
$udb->getPlace($placeId);
```

#### Create a place

[](#create-a-place)

The data passed should be an array, with fields that match the [place model](https://docs.publiq.be/docs/uitdatabank/entry-api/reference/operations/create-a-place).

```
$udb->createPlace($data);
```

#### Searching for Organizers

[](#searching-for-organizers)

```
$udb->searchOrganizers([]);
```

The function takes on array of potential search parameters, those can be found [here](https://docs.publiq.be/docs/uitdatabank/search-api/reference/operations/list-organizers)

#### Get all details for a specific organizer

[](#get-all-details-for-a-specific-organizer)

```
$udb->getOrganizer($organizerId);
```

#### Create an organizer

[](#create-an-organizer)

The data passed should be an array, with fields that match the [organizer model](https://docs.publiq.be/docs/uitdatabank/entry-api/reference/operations/create-a-organizer).

```
$udb->createOrganizer($data);
```

#### Create an event

[](#create-an-event)

The data passed should be an array, with fields that match the [event model](https://docs.publiq.be/docs/uitdatabank/entry-api/reference/operations/create-a-event).

```
$udb->createEvent($data);
```

#### Update an event

[](#update-an-event)

The data passed should be an array, with fields that match the [event model](https://docs.publiq.be/docs/uitdatabank/entry-api/reference/operations/update-a-event).

```
$udb->updateEvent($eventId, $data);
```

#### Update the workflowStatus of an event

[](#update-the-workflowstatus-of-an-event)

The data passed should be an array, with fields that match the [workflowStatus model](https://docs.publiq.be/docs/uitdatabank/entry-api/reference/operations/update-a-event-workflow-status).

```
$udb->updateWorkflowStatus($eventId, $data);
```

#### Update the workflowStatus of a place

[](#update-the-workflowstatus-of-a-place)

The data passed should be an array, with fields that match the [workflowStatus model](https://docs.publiq.be/docs/uitdatabank/entry-api/reference/operations/update-a-place-workflow-status).

```
$udb->updatePlaceWorkflowStatus($eventId, $data);
```

---

SearchAPI Initialization
------------------------

[](#searchapi-initialization)

```
use statikbe\udb\Environments;
use statikbe\udb\SearchAPI;

$udb = new SearchAPI(
    getenv("UDB_CLIENT_ID"),
    Environments::PROD
);
```

### Searching for events by label

[](#searching-for-events-by-label)

```
$udb->searchEvents([
    'labels' => 'value',
    'embed' => true
]);
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.1% 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 ~58 days

Recently: every ~34 days

Total

18

Last Release

96d ago

Major Versions

1.6.2 → 2.0.02025-06-27

2.1.6 → 3.0.02025-12-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/1250437446b84017407f7f1900194b1e1c93fcf34b332ba382fb77f69b251cb6?d=identicon)[statikbe](/maintainers/statikbe)

---

Top Contributors

[![janhenckens](https://avatars.githubusercontent.com/u/755428?v=4)](https://github.com/janhenckens "janhenckens (67 commits)")[![HannahDeWachter](https://avatars.githubusercontent.com/u/55497252?v=4)](https://github.com/HannahDeWachter "HannahDeWachter (4 commits)")[![Numkil](https://avatars.githubusercontent.com/u/5604686?v=4)](https://github.com/Numkil "Numkil (1 commits)")

### Embed Badge

![Health badge](/badges/statikbe-udb-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/statikbe-udb-helpers/health.svg)](https://phpackages.com/packages/statikbe-udb-helpers)
```

PHPackages © 2026

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