PHPackages                             semitexa/platform-settings - 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. semitexa/platform-settings

ActiveSemitexa-module[Utility &amp; Helpers](/categories/utility)

semitexa/platform-settings
==========================

Semitexa Platform Settings system settings store for modules (multi-tenant aware)

0.0.7(3mo ago)00MITPHPPHP ^8.4

Since Mar 2Pushed 2mo agoCompare

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

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

Semitexa Platform Settings
==========================

[](#semitexa-platform-settings)

System settings store for modules. Any module can persist its own key-value settings. **Multi-tenant aware**: when tenancy is enabled, settings are isolated per tenant (`tenant_id` is injected automatically).

Usage in modules
----------------

[](#usage-in-modules)

Inject the contract and read/write by module key:

```
use Semitexa\Platform\Settings\Contract\SettingsStoreInterface;

// In your handler or service:
$this->settings->set('my-module', 'theme', 'dark');
$theme = $this->settings->get('my-module', 'theme');
$all = $this->settings->getAll('my-module');
$this->settings->remove('my-module', 'theme');
```

- **module\_key**: e.g. `platform-user`, `platform-wm` — identifies the owning module (max 128 chars).
- **key**: setting name within the module (max 255 chars).
- **value**: any JSON-serializable value (scalar, array, object).

WM app
------

[](#wm-app)

The **System Settings** app appears on the platform desktop (icon ⚙). It opens `/platform/settings` and lists all stored settings grouped by module (read-only overview). Modules use `SettingsStoreInterface` programmatically to read/write.

Database
--------

[](#database)

Table `platform_settings` is created/updated by the ORM sync. Run:

```
bin/semitexa orm:sync
```

(or `docker compose exec app php vendor/bin/semitexa orm:sync`). The collector discovers `SettingResource` (via `#[FromTable]`) and applies the schema diff.

Tenant behaviour
----------------

[](#tenant-behaviour)

- With **tenancy disabled** or no tenant resolved: `tenant_id` stays `NULL`; all settings are global.
- With **tenancy enabled** and tenant resolved: `tenant_id` is set by the scope; each tenant has its own settings per (module\_key, key).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance83

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~3 days

Total

6

Last Release

93d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e94044da9f4c76cc5cd09ef0c693a68065787e10d0d18edfeedbef3573a9163a?d=identicon)[syntaxwanderer](/maintainers/syntaxwanderer)

---

Top Contributors

[![syntaxwanderer](https://avatars.githubusercontent.com/u/1311643?v=4)](https://github.com/syntaxwanderer "syntaxwanderer (30 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (2 commits)")[![goosyboosy](https://avatars.githubusercontent.com/u/13351014?v=4)](https://github.com/goosyboosy "goosyboosy (1 commits)")

---

Tags

configurationkey-valueplatformsemitexasettingstenancy

### Embed Badge

![Health badge](/badges/semitexa-platform-settings/health.svg)

```
[![Health](https://phpackages.com/badges/semitexa-platform-settings/health.svg)](https://phpackages.com/packages/semitexa-platform-settings)
```

PHPackages © 2026

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