PHPackages                             tentakelfabrik/pirectus - 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. tentakelfabrik/pirectus

ActiveLibrary[API Development](/categories/api)

tentakelfabrik/pirectus
=======================

0.1.3(4y ago)1231MITPHP

Since Oct 10Pushed 4y ago2 watchersCompare

[ Source](https://github.com/tentakelfabrik/pirectus)[ Packagist](https://packagist.org/packages/tentakelfabrik/pirectus)[ RSS](/packages/tentakelfabrik-pirectus/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Pirectus - a small Client for Directus 9
========================================

[](#pirectus---a-small-client-for-directus-9)

This Version is in a early Stage and only supports get, post, patch for Items. Authentification is only possible with token. It uses [Guzzle, PHP HTTP client](https://docs.guzzlephp.org/en/stable/) and is inspired by the [Directus JavaScript SDK](https://docs.directus.io/reference/sdk/).

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

[](#installation)

```
composer require tentakelfabrik/pirectus
```

Quickstart
----------

[](#quickstart)

```
require('vendor/autoload.php');

use Pirectus\Pirectus;
use Pirectus\Auth\TokenAuth;

$pirectus = new Pirectus('', [
    'auth' => new TokenAuth('')
]);
```

```
$results = $pirectus
    ->items('pages')
    ->fields(['id', 'title', 'content'])
    ->filter([
        'status' => ['_eq' => 'published']
    ])
    ->find();
```

ItemsQueryBuilder
-----------------

[](#itemsquerybuilder)

### fields(array $fields)

[](#fieldsarray-fields)

### addFields(array $fields)

[](#addfieldsarray-fields)

### filter(array $filter)

[](#filterarray-filter)

### addFilter(array $filter)

[](#addfilterarray-filter)

### limit(int $value)

[](#limitint-value)

### offset(int $value)

[](#offsetint-value)

### groupBy(array $groupBy)

[](#groupbyarray-groupby)

### addGroupBy(string $field)

[](#addgroupbystring-field)

### aggregate(string $aggregate, string $field)

[](#aggregatestring-aggregate-string-field)

### sort(array $sort)

[](#sortarray-sort)

### addSort(array $sort)

[](#addsortarray-sort)

### search(string $value)

[](#searchstring-value)

### meta(string $value)

[](#metastring-value)

### aliases(string $field, string $alias)

[](#aliasesstring-field-string-alias)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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 ~1 days

Total

4

Last Release

1714d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56025126?v=4)[Tentakelfabrik](/maintainers/tentakelfabrik)[@tentakelfabrik](https://github.com/tentakelfabrik)

---

Top Contributors

[![HerrHase](https://avatars.githubusercontent.com/u/5207733?v=4)](https://github.com/HerrHase "HerrHase (13 commits)")

### Embed Badge

![Health badge](/badges/tentakelfabrik-pirectus/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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