domprojects/codeigniter4-bootstrap-icons

Bootstrap Icons asset publisher for CodeIgniter 4 projects.

Maintainers

Package info

github.com/domProjects/codeigniter4-bootstrap-icons

pkg:composer/domprojects/codeigniter4-bootstrap-icons

Statistics

Installs: 1

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-02 16:20 UTC

This package is auto-updated.

Last update: 2026-04-02 16:24:44 UTC


README

Bootstrap Icons asset publisher for CodeIgniter 4 projects.

Features

  • Adds a Spark command: assets:publish-bootstrap-icons
  • Publishes Bootstrap Icons assets to public/assets/bootstrap-icons
  • Publishes the minified CSS file and font files
  • Supports --force to overwrite existing files
  • Compatible with CodeIgniter 4.7.2+

Requirements

  • PHP 8.2+
  • CodeIgniter 4.7.2+
  • twbs/bootstrap-icons

Installation

Install the package with Composer:

composer require domprojects/codeigniter4-bootstrap-icons

Usage

Publish the assets manually:

php spark assets:publish-bootstrap-icons

Overwrite existing files:

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

Published files:

  • public/assets/bootstrap-icons/bootstrap-icons.min.css
  • public/assets/bootstrap-icons/fonts/*

Automation

If you want automatic publishing after composer install and composer update, use the companion package:

composer require domprojects/codeigniter4-bootstrap-icons-plugin

Package Structure

src/
  Commands/
    PublishBootstrapIcons.php
  Publishers/
    BootstrapIconsPublisher.php

License

MIT