domprojects/codeigniter4-bootstrap-plugin

Composer plugin that automatically publishes domProjects CodeIgniter 4 Bootstrap assets.

Maintainers

Package info

github.com/domProjects/codeigniter4-bootstrap-plugin

Type:composer-plugin

pkg:composer/domprojects/codeigniter4-bootstrap-plugin

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-02 11:14 UTC

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 publication
  • force: 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