domprojects/codeigniter4-bootstrap-plugin
最新稳定版本:v1.0.1
Composer 安装命令:
composer require domprojects/codeigniter4-bootstrap-plugin
包简介
Composer plugin that automatically publishes domProjects CodeIgniter 4 Bootstrap assets.
README 文档
README
Composer plugin for automatic Bootstrap asset publication in CodeIgniter 4 projects.
This package is the optional automation companion for domprojects/codeigniter4-bootstrap.
What It Does
After composer install and composer update, the plugin runs:
php spark assets:publish-bootstrap --force
Requirements
- PHP 8.2 or newer
- Composer 2
domprojects/codeigniter4-bootstrap
Installation
Install the main package and the plugin:
composer require domprojects/codeigniter4-bootstrap composer require domprojects/codeigniter4-bootstrap-plugin
Composer may ask you to allow the plugin the first time.
Configuration
Add this to the consuming project's composer.json if you want to explicitly allow the plugin in non-interactive environments:
{
"config": {
"allow-plugins": {
"domprojects/codeigniter4-bootstrap-plugin": true
}
}
}
Optional behavior tuning:
{
"extra": {
"domprojects-codeigniter4-bootstrap-plugin": {
"auto-publish": true,
"force": true
}
}
}
Available options:
auto-publish: enable or disable automatic publicationforce: overwrite existing files during automatic publication
Local Development
Example path repositories:
{
"repositories": {
"domprojects-codeigniter4-bootstrap": {
"type": "path",
"url": "packages/domprojects/codeigniter4-bootstrap",
"options": {
"symlink": false
}
},
"domprojects-codeigniter4-bootstrap-plugin": {
"type": "path",
"url": "packages/domprojects/codeigniter4-bootstrap-plugin",
"options": {
"symlink": false
}
}
}
}
License
MIT
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-02