Integration of the popular Bootstrap CSS framework for CodeIgniter 4

Overview

Tatter\Bootstrap

Integration of the popular Bootstrap CSS framework for CodeIgniter 4

Coverage Status

Description

This library leverages Tatter\Assets to automate asset discovery and HTML tag injection for the popular Bootstrap CSS framework. Be sure to read the documentation for Tatter\Assets on how to integrate the filter with your application's routes.

Note: While this library may be used by itself the author's intent is to include it with Tatter\Frontend to provide an opinionated suite of frontend utilities.

Installation

Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:

  • > composer require tatter/bootstrap

Or, install manually by downloading the source files and adding the directory to app/Config/Autoload.php.

Once the files are downloaded and included in the autoload run the framework's publish command to inject all assets into your front controller path:

  • > php spark publish

Note: This package includes support for Bootstrap 4 or 5. Composer will default to the latest available so if your project requires version 4 then specify so in composer.json.

Configuration

For full configuration details see the Assets docs.

Enable the AssetsFilters on any "after" routes where you want tags applied. To apply them everywhere simply add to $globals. app/Config/Filters.php:

    /**
     * List of filter aliases that are always
     * applied before and after every request.
     *
     * @var array
     */
    public $globals = [
        'before' => [
            // 'honeypot',
            // 'csrf',
        ],
        'after'  => [
            'assets',
        ],
    ];

Then create or edit your Assets config file and add the bundle. app/Config/Assets.php:

<?php

namespace Config;

class Assets extends \Tatter\Assets\Config\Assets
{
    public $routes = [
        '*' => [
            \Tatter\Bootstrap\Bundles\BootstrapBundle::class,
        ],
    ];
}
You might also like...
Persistent user-specific settings for CodeIgniter 4

Tatter\Preferences Persistent user-specific settings for CodeIgniter 4 Quick Start Install with Composer: composer require --dev tatter/preferences

CI4-Lic is a software license manager modul for Codeigniter 4, connecting to WordPress license server based on the Software License Manager Plugin.

CI4-Lic CI4-Lic is a software license manager modul for Codeigniter 4, connecting to WordPress license server based on Software License Manager Plugin

Forum Diskusi Mahasiswa Informatika Berbasis Web menggunakan Framework Laravel & Bootstrap

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Automatic SASS-to-CSS compiling for Laravel 4 (and any other framework too), config-free, in pure PHP, works with latest SASS 3.2 .scss syntax, imports and mixins

laravel-sass Automatic Sass-to-CSS compiling for Laravel 4 (and any other framework by the way) while being in development. Every time you run your ap

BraincraftedBootstrapBundle integrates Bootstrap into Symfony2 by providing templates, Twig extensions, services and commands.

BraincraftedBootstrapBundle BraincraftedBootstrapBundle helps you integrate Bootstrap in your Symfony2 project. BootstrapBundle also supports the offi

Open source ERP software. Built on modern PHP and bootstrap 4. Easy and powerful.

FacturaScripts Open source ERP software. Built on modern PHP and bootstrap 4. Easy and powerful. Install Clone and deploy with composer and npm (compo

Frontend repository of libreoupas project, mostly written in PHP and JavaScript, using Bootstrap for responsivity.
Frontend repository of libreoupas project, mostly written in PHP and JavaScript, using Bootstrap for responsivity.

libreoupas Description libreoupas est un site Internet permettant aux étudiant de la Faculté des Sciences et Technologies de Vandoeuvre-Lès-Nancy d'av

A powerful open source Laravel Blog with WYSWYG and CRUD (Create Read Update Delete) built on Laravel 5.8 and Bootstrap 4
A powerful open source Laravel Blog with WYSWYG and CRUD (Create Read Update Delete) built on Laravel 5.8 and Bootstrap 4

Larablog A powerful open source Laravel Blog with WYSWYG and CRUD (Create Read Update Delete) built on Laravel 5.8 and Bootstrap 4 Table of contents F

Laravel Angular Time Tracker is a simple time tracking application built on Laravel 5.2, Angular 2, and Bootstrap 3.

Laravel 5.2, Angular 2, and Bootstrap 3.3.* Time Tracker Laravel Angular Time Tracker is a simple time tracking application built on Laravel 5.2, Angu

Releases(v2.0.0-rc.3)
  • v2.0.0-rc.3(Dec 7, 2021)

    Restores versioning to allow v1 releases to bundle jQuery.

    What's Changed

    • Versioning by @MGatner in https://github.com/tattersoftware/codeigniter4-bootstrap/pull/4

    Full Changelog: https://github.com/tattersoftware/codeigniter4-bootstrap/compare/v2.0.0-rc.2...v2.0.0-rc.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0-rc.2(Dec 7, 2021)

    Now includes jQuery in the dependency and bundle.

    What's Changed

    • Bundle jQuery by @MGatner in https://github.com/tattersoftware/codeigniter4-bootstrap/pull/5

    Full Changelog: https://github.com/tattersoftware/codeigniter4-bootstrap/compare/v1.0.0-rc.1...v1.0.0-rc.2

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0-rc.2(Nov 26, 2021)

    This release unifies Bootstrap versions so the v1 branch is no longer needed.

    What's Changed

    • Unify Versions by @MGatner in https://github.com/tattersoftware/codeigniter4-bootstrap/pull/3

    Full Changelog: https://github.com/tattersoftware/codeigniter4-bootstrap/compare/v2.0.0-rc.1...v2.0.0-rc.2

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0-rc.1(Nov 26, 2021)

    What's Changed

    • Prep Bootstrap 5 by @MGatner in https://github.com/tattersoftware/codeigniter4-bootstrap/pull/2

    Full Changelog: https://github.com/tattersoftware/codeigniter4-bootstrap/compare/v1.0.0-rc.1...v2.0.0-rc.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0-rc.1(Nov 26, 2021)

Owner
Tatter Software
Web app development for problem solving
Tatter Software
ZAP CRM is Customer Relationship Management portal built using PHP Codeigniter 4 & Tailwind CSS framework.

ZAP CRM ZAP CRM is Customer Relationship Management portal built using PHP Codeigniter 4 & Tailwind CSS framework. Screenshots User (Dashboard) Admin

Dawood Khan Masood 5 Feb 2, 2022
Um modelo de loja virtual utilizando HTML, CSS, JS, Bootstrap e PHP, utilizando ferramentas de edição de texto (VS Code), Edição de imagens (Adobe photoshop) e de vetorização (Adobe Illustrator).

Loja virtual fictícia Um modelo de loja virtual utilizando HTML, CSS, JS, Bootstrap e PHP, utilizando ferramentas de edição de texto (VS Code), Edição

Emily Leme 2 Sep 8, 2021
Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP

Project-Stormwind Project of Simple Blog using: HTML, CSS, PHP, MYSQL, and BOOTSTRAP Functions : A personal blog about Blizzard and their work Main Th

Jan Andrzejewski 2 Aug 24, 2022
This is a web application for management of employees. This was done with the stack - HTML, CSS, BOOTSTRAP, VUEJS AND LARAVEL

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

igudy 2 Dec 24, 2021
Complete Login and Registration system using HTML, CSS, JAVASCRIPT, BOOTSTRAP, PHP and MYSQL

Complete Login and Registration system using HTML, CSS, JAVASCRIPT, BOOTSTRAP, PHP and MYSQL

JehanKandy 11 Jul 13, 2022
Complete Login and Registration System with HTML CSS Bootstrap PHP and MYSQL

Complete-Login-and-Registration-System Complete Login and Registration System with HTML CSS Bootstrap PHP and MYSQL for .sql file run xampp server ope

JehanKandy 10 Jul 13, 2022
The most popular FOSS online survey tool on the web.

Sophisticated online survey software About Limesurvey is the number one open-source survey software. Advanced features like branching and multiple que

LimeSurvey GmbH 2.2k Dec 29, 2022
eLabFTW is the most popular open source electronic lab notebook for research labs.

A free, modern, versatile, secure electronic lab notebook for researchers Official website | Live demo | Documentation | Dedicated hosting Description

elabftw 685 Jan 4, 2023
Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework.

Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework. It uses MySQL as the data back end and has a Bootstrap 3 based user interface.

opensourcepos 2.7k Jan 2, 2023
Official Coding Standards for CodeIgniter

CodeIgniter Coding Standard This library holds the official coding standards of CodeIgniter based on PHP CS Fixer and powered by Nexus CS Config. Inst

CodeIgniter 37 Dec 19, 2022