Composer with a bootstrap?

Asked

Viewed 320 times

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>
  • 1

    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.

  • 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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.