stepanorda/yii2-contenttypes
Composer 安装命令:
composer require stepanorda/yii2-contenttypes
包简介
README 文档
README
This extension keeps track of your models giving them unique ids so you can easily use them in junction tables. In the future I plan to improve this extension so it will be something like ContentTypes from Django framework.
Installation
Downloading yii2-contenttypes using composer
Add yii2-contenttypes to the require section of your composer.json file:
{
"require": {
"stepanorda/yii2-contenttypes": "*"
}
}
Then run the command:
$ php composer.phar update
Apply the migration:
$ php yii migrate/up --migrationPath=@vendor/stepanorda/yii2-contenttypes/migrations
Usage
License
Apache License 2.0 http://www.apache.org/licenses/
统计信息
- 总下载量: 144
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache
- 更新时间: 2015-01-06