domprojects / codeigniter4-bootstrap-plugin
Composer plugin that automatically publishes domProjects CodeIgniter 4 Bootstrap assets.
Package info
github.com/domProjects/codeigniter4-bootstrap-plugin
Type:composer-plugin
pkg:composer/domprojects/codeigniter4-bootstrap-plugin
Requires
- php: ^8.2
- composer-plugin-api: ^2.0
- domprojects/codeigniter4-bootstrap: ^1.0
This package is auto-updated.
Last update: 2026-04-02 12:10:06 UTC
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