bonsaicms/metamodel
Composer 安装命令:
composer require bonsaicms/metamodel
包简介
Metamodel for Bonsai CMS
README 文档
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.
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-06