PHPackages                             domprojects/codeigniter4-bootstrap-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. domprojects/codeigniter4-bootstrap-plugin

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

domprojects/codeigniter4-bootstrap-plugin
=========================================

Composer plugin that automatically publishes domProjects CodeIgniter 4 Bootstrap assets.

v1.0.1(2mo ago)02↓90%MITPHPPHP ^8.2CI passing

Since Apr 2Pushed 2mo agoCompare

[ Source](https://github.com/domProjects/codeigniter4-bootstrap-plugin)[ Packagist](https://packagist.org/packages/domprojects/codeigniter4-bootstrap-plugin)[ Docs](https://github.com/domProjects/codeigniter4-bootstrap-plugin)[ RSS](/packages/domprojects-codeigniter4-bootstrap-plugin/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Bootstrap 5 Plugin for CodeIgniter 4
====================================

[](#bootstrap-5-plugin-for-codeigniter-4)

[![Packagist](https://camo.githubusercontent.com/4008194b21ba179a66e4a063b3a8a0eed03288243bc030be327db19c7d076b82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6d70726f6a656374732f636f646569676e69746572342d626f6f7473747261702d706c7567696e3f6c6162656c3d5061636b6167697374)](https://packagist.org/packages/domprojects/codeigniter4-bootstrap-plugin)[![License](https://camo.githubusercontent.com/69feba68e03514533e2866c1adf834803997ea7f7b80cd7c6bb9f708bd1cf885/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f6d50726f6a656374732f636f646569676e69746572342d626f6f7473747261702d706c7567696e)](https://github.com/domProjects/codeigniter4-bootstrap-plugin/blob/main/LICENSE)[![PHPUnit](https://camo.githubusercontent.com/725fcf99fcd2b9b469b5ed548841832025a78ecf64113148d87fa726d2f3ba4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d50726f6a656374732f636f646569676e69746572342d626f6f7473747261702d706c7567696e2f706870756e69742e796d6c3f6272616e63683d6d61696e266c6162656c3d504850556e6974)](https://github.com/domProjects/codeigniter4-bootstrap-plugin/actions/workflows/phpunit.yml)[![Psalm](https://camo.githubusercontent.com/f3a2e4e1c88568448780e9705cc8a4efb172239d226d7a4edc19199361594207/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d50726f6a656374732f636f646569676e69746572342d626f6f7473747261702d706c7567696e2f7073616c6d2e796d6c3f6272616e63683d6d61696e266c6162656c3d5073616c6d)](https://github.com/domProjects/codeigniter4-bootstrap-plugin/actions/workflows/psalm.yml)[![PHPStan](https://camo.githubusercontent.com/84407fb3bdaf41c9f38cfcae86a0e4750911e63110cbfe6fcdbcf784580cbba3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6d50726f6a656374732f636f646569676e69746572342d626f6f7473747261702d706c7567696e2f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d5048505374616e)](https://github.com/domProjects/codeigniter4-bootstrap-plugin/actions/workflows/phpstan.yml)

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
------------

[](#what-it-does)

After `composer install` and `composer update`, the plugin runs:

```
php spark assets:publish-bootstrap --force
```

Requirements
------------

[](#requirements)

- PHP 8.2 or newer
- Composer 2
- `domprojects/codeigniter4-bootstrap`

Installation
------------

[](#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
-------------

[](#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
-----------------

[](#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
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance84

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

2

Last Release

83d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4879685?v=4)[Emmanuel Campait](/maintainers/domProjects)[@domProjects](https://github.com/domProjects)

---

Tags

assetbootstrapbootstrap5codeignitercodeigniter4pluginassetsbootstrapcomposer-pluginpublishercodeigniter4

### Embed Badge

![Health badge](/badges/domprojects-codeigniter4-bootstrap-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/domprojects-codeigniter4-bootstrap-plugin/health.svg)](https://phpackages.com/packages/domprojects-codeigniter4-bootstrap-plugin)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M25](/packages/vaimo-composer-patches)[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1465.4M61](/packages/mnsami-composer-custom-directory-installer)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M200](/packages/drupal-core-project-message)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[altis/local-server

Local Server module for Altis

18221.6k3](/packages/altis-local-server)[tatter/assets

Asset publishing and loading for CodeIgniter 4

4867.1k5](/packages/tatter-assets)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
