Skip to content

ian-maurmann/pith-pack-bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pith-pack-bootstrap

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

About

Pack Bootstrap for Pith

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%