PHPackages                             level51/silverstripe-data-documents-pocketbase - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. level51/silverstripe-data-documents-pocketbase

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

level51/silverstripe-data-documents-pocketbase
==============================================

Pocketbase Adapter for Data Documents

0.2.0(1y ago)020BSD-3-ClausePHP

Since Feb 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Level51/silverstripe-data-documents-pocketbase)[ Packagist](https://packagist.org/packages/level51/silverstripe-data-documents-pocketbase)[ RSS](/packages/level51-silverstripe-data-documents-pocketbase/feed)WikiDiscussions main Synced 1mo ago

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

Pocketbase Adapter for Data Documents
=====================================

[](#pocketbase-adapter-for-data-documents)

See main repository [Data Documents](https://github.com/Level51/silverstripe-data-documents) for instructions.

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

[](#installation)

```
composer require level51/silverstripe-data-documents-pocketbase

```

Configuration
-------------

[](#configuration)

Environment VariableDescriptionRequiredExamplePOCKETBASE\_URLURL of your Pocketbase instanceYesPOCKETBASE\_ADMIN\_USERSuperuser identifierYes-POCKETBASE\_ADMIN\_PASSSuperuser passwordYes-Usage
-----

[](#usage)

Check out the main repository [Data Documents](https://github.com/Level51/silverstripe-data-documents) for general usage description. Also note the following:

### Collection name

[](#collection-name)

Make sure that you pass the collection name when you create the adapter instance using the `getDocumentStore` method in your data model.

```
public function getDocumentStore(): DataDocumentStore
{
    return PocketbaseAdapter::create('myCollectionName');
}
```

### Document write options

[](#document-write-options)

Custom write options can be defined for each model by defining a `getDocumentWriteOptions` method.

```
public function getDocumentWriteOptions(): array
{
    return [
        'merge' => false // defaults to true
    ];
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance43

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

447d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/441f0e8f95c17048417a33f37e35d5ffdd4c07902cbedaf7f5786f4b7c454284?d=identicon)[JZubero](/maintainers/JZubero)

---

Top Contributors

[![dkliemsch](https://avatars.githubusercontent.com/u/13777159?v=4)](https://github.com/dkliemsch "dkliemsch (2 commits)")

---

Tags

silverstripecms

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/level51-silverstripe-data-documents-pocketbase/health.svg)

```
[![Health](https://phpackages.com/badges/level51-silverstripe-data-documents-pocketbase/health.svg)](https://phpackages.com/packages/level51-silverstripe-data-documents-pocketbase)
```

PHPackages © 2026

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