Skip to content

jpuck/php-bootstrap-progress-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Bootstrap Progress Bar

Create static Bootstrap Progress Bars using PHP.

Installation

Install into your project using composer.

composer require jpuck/php-bootstrap-progress-bar

Usage

See example.php for usage.

Views

Additional twig views may be created and added to the views directory and referenced using the render method. For example, myview.twig.html can be used like:

echo $progressbar->render('myview');

WordPress sans Bootstrap

If you're using WordPress without Bootstrap, then you can add the stylesheet to the <head> section with the wp_head action hook.

add_action( 'wp_head', array( ProgressBar::class, 'wp_head' ) );

About

output bootstrap progress bar via php

Resources

License

Stars

Watchers

Forks

Packages

No packages published