Bootstrap Icons asset publisher for CodeIgniter 4 projects.
- 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
--forceto overwrite existing files - Compatible with CodeIgniter 4.7.2+
- PHP 8.2+
- CodeIgniter 4.7.2+
twbs/bootstrap-icons
Install the package with Composer:
composer require domprojects/codeigniter4-bootstrap-iconsPublish the assets manually:
php spark assets:publish-bootstrap-iconsOverwrite existing files:
php spark assets:publish-bootstrap-icons --forcePublished files:
public/assets/bootstrap-icons/bootstrap-icons.min.csspublic/assets/bootstrap-icons/fonts/*
If you want automatic publishing after composer install and composer update, use the companion package:
composer require domprojects/codeigniter4-bootstrap-icons-pluginsrc/
Commands/
PublishBootstrapIcons.php
Publishers/
BootstrapIconsPublisher.php
MIT