PHPackages                             bonsaicms/metamodel - 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. bonsaicms/metamodel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bonsaicms/metamodel
===================

Metamodel for Bonsai CMS

092PHP

Since Feb 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bonsaicms/metamodel)[ Packagist](https://packagist.org/packages/bonsaicms/metamodel)[ RSS](/packages/bonsaicms-metamodel/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Metamodel for Bonsai CMS
========================

[](#metamodel-for-bonsai-cms)

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

[](#installation)

You can install the package via composer:

```
composer require bonsaicms/metamodel
php artisan migrate
```

### Configuration

[](#configuration)

You can publish the config file with:

```
php artisan vendor:publish --tag="bonsaicms-metamodel-config"
```

This is the contents of the published config file:

```
return [
    // Metamodel
    'entityTableName' => 'meta_entities',
    'attributeTableName' => 'meta_attributes',
    'relationshipTableName' => 'meta_relationships',

    // Generated
    'generatedTablePrefix' => 'gen_',
    'generatedTableSuffix' => '',
];
```

### Migrations

[](#migrations)

If you want to customize the migrations, you can publish them with:

```
php artisan vendor:publish --tag="bonsaicms-metamodel-migrations"
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

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

---

Top Contributors

[![mspiderv](https://avatars.githubusercontent.com/u/2259835?v=4)](https://github.com/mspiderv "mspiderv (21 commits)")

### Embed Badge

![Health badge](/badges/bonsaicms-metamodel/health.svg)

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

###  Alternatives

[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

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