pith-front/pith-pack-bootstrap

Pack Bootstrap for Pith

0.1.0 2024-02-25 05:11 UTC

This package is auto-updated.

Last update: 2024-04-25 05:40:43 UTC


README

Pack Bootstrap for Pith

About

This project packs Bootstrap and Bootstrap Icons so that they can be used with the Pith Framework.

For info on Bootstrap, see the Bootstrap website at https://getbootstrap.com/, and their repo at https://github.com/twbs/bootstrap. For Bootstrap Icons see https://icons.getbootstrap.com/ and the https://github.com/twbs/icons repo on GitHub.

For info on Pith, see the Pith website at https://pith-framework.org/

Install

Install to an existing Pith Framework project

Use Composer to install pack to the vendor folder.

php composer.phar require pith-front/pith-pack-bootstrap

Add new route to your Route List:

public array $routes = [
    // Other routes....
    // ...
    
    // Add route to call Bootstrap resources from
    ['route', 'GET', '/resources/vendor/library/bootstrap/{filepath:.+}', '\\PithFront\\PithPackBootstrap\\BootstrapResourceRoute'],
];

Licensing Info

Bootstrap

Bootstrap

pith-pack-bootstrap