bonsaicms / metamodel
Metamodel for Bonsai CMS
dev-master
2022-02-18 22:17 UTC
Requires
- php: ^8.0
- laravel/framework: ^9.0
This package is auto-updated.
Last update: 2024-12-06 17:47:54 UTC
README
Installation
You can install the package via composer:
composer require bonsaicms/metamodel php artisan migrate
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
If you want to customize the migrations, you can publish them with:
php artisan vendor:publish --tag="bonsaicms-metamodel-migrations"
License
The MIT License (MIT). Please see License File for more information.