Create static Bootstrap Progress Bars using PHP.
Install into your project using composer.
composer require jpuck/php-bootstrap-progress-bar
See example.php for usage.
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');
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' ) );