0
What can I call the bootstrap
using the composer
, I tried for a while
but unfortunately I didn’t get anyone has any idea?
Path to vendor folder composer
<?php require "../../vendor/autoload.php";
?>
Code using Bootstrap
:
<html>
<div class="alert alert-success" role="alert">...</div>
<div class="alert alert-info" role="alert">...</div>
<div class="alert alert-warning" role="alert">...</div>
<div class="alert alert-danger" role="alert">...</div>
</html>
Composer is a PHP package manager, whereas Bootstrap is a CSS library. What you tried to do makes no sense. Just add the CSS files to the page with the element
link
and will function normally.– Woss
On the bootstrap site :http://getbootstrap.com/getting-started/ you have the option to install the bootstrap library via Poser and for the use would need to use the aforementioned require, however, my doubt is how to use.
– Welliton.O