PHPackages                             nubitio/platform - 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. [Framework](/categories/framework)
4. /
5. nubitio/platform

ActiveLibrary[Framework](/categories/framework)

nubitio/platform
================

Platform foundation for Nubit Symfony apps: domain exceptions, tenant contracts, feature gates, quota contracts, messenger middleware, cache/file/export helpers.

v0.12.1(2w ago)0281↑70%3MITPHPPHP &gt;=8.3

Since Jun 11Pushed 2w agoCompare

[ Source](https://github.com/nubitio/platform)[ Packagist](https://packagist.org/packages/nubitio/platform)[ Docs](https://github.com/nubitio/nubit-symfony/tree/main/packages/platform)[ RSS](/packages/nubitio-platform/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (38)Versions (39)Used By (3)

nubitio/platform
================

[](#nubitioplatform)

Platform foundation for Nubit Symfony apps: the framework-agnostic contracts and helpers that the rest of the stack builds on.

```
composer require nubitio/platform
```

What's inside
-------------

[](#whats-inside)

- **Exceptions** — `ServiceException`, `ValidationException`, `NotFoundException`, `DomainProblemException`, `QuotaExceededException` with `DomainErrorCode`. Throw these from services; `nubitio/api-platform` maps them to proper HTTP responses.
- **Tenant** — `TenantContext` plus contracts (`TenantRegistryInterface`, `TenantConnectionSwitcherInterface`, `TenantDescriptorRegistryInterface`, `TenantBackupRunnerInterface`). Single-tenant apps bind noop implementations; multi-tenant apps provide real ones.
- **Feature gates** — `#[RequiresFeature]` attribute + `FeatureCheckerInterface`.
- **Quota contracts** — `QuotaEnforcerInterface`, `QuotaResourceResolverInterface`.
- **Messenger** — `TenantStampMiddleware` / `TenantContextMiddleware` propagate tenant + actor through async messages.
- **Infra helpers** — `CacheManager`, `FileManager` (Flysystem), `TenantRateLimiter`, `XlsExporter` (PhpSpreadsheet), `PdfExporter` (WeasyPrint), `PerTenantCommand` console base class, `TenantLogProcessor` (Monolog).
- **HTTP** — `ApiResponse` JSON envelope (`success`/`message`/`data`).

Heavy integrations (Flysystem, PhpSpreadsheet, WeasyPrint, Monolog, OpenTelemetry) are `suggest`-ed — install them only if you use the corresponding helper.

License
-------

[](#license)

MIT

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance97

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

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

38

Last Release

15d ago

PHP version history (3 changes)v0.1.0PHP &gt;=8.5

v0.10.6PHP &gt;=8.2

v0.10.13PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/990211?v=4)[Johan Guerreros](/maintainers/johangm90)[@johangm90](https://github.com/johangm90)

---

Top Contributors

[![johangm90](https://avatars.githubusercontent.com/u/990211?v=4)](https://github.com/johangm90 "johangm90 (9 commits)")

---

Tags

symfonyplatformsaasmulti-tenantnubit

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M604](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M215](/packages/sulu-sulu)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M754](/packages/sylius-sylius)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M425](/packages/drupal-core-recommended)

PHPackages © 2026

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