chameleon2die4/wpbones-extend
最新稳定版本:1.0.8
Composer 安装命令:
composer require chameleon2die4/wpbones-extend
包简介
This library add additional functionality for WP Bones framework.
README 文档
README
This library add additional functionality for WP Bones framework.
Installation
Composer:
Browse into directory and run;
$ composer require chameleon2die4/wpbones-extend
You can configure your composer.json to copy files when you update your dependencies:
...
"scripts": {
"post-update-cmd": [
"Chameleon2die4\\WPBonesExtend\\WPBonesExtend::copyInitFiles"
]
},
If you rename plugin - change Chameleon2die4 to your namespace.
It's copy new bones files, with new commands. Additional copy stubs templates for commands. After files will be copied, you can remove this part from composer.json.
WP Bones features
New bones commands:
make:service Create a new Service
make:resource Create a new Resource
make:meta Create a new MetaBox
migrate:up Run your migrations
migrate:rollback Run rollback for your migrations
New migrations
$this->create("your_table", function (Blueprint $table){
$table->id();
$table->integer('user_id')->nullable();
$table->string('name');
$table->string('link')->nullable();
});
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2023-09-20