1. Go to this page and download the library: Download los/losui library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
los / losui example snippets
echo $this->losHead()->getJquery();
//Will use the 2.2.0 unminified version
echo $this->losHead()->getJquery(false, '2.1.0');
//Will use the 2.2.0 unminified version
echo $this->losHead()->getJqueryLink(false, '2.1.0');
echo $this->losHead()->getFontAwesome();
//Will use the unminified version
echo $this->losHead()->getFontAwesome(false);
//Will use the 4.2.0 unminified version
echo $this->losHead()->getFontAwesome(false, '4.2.0');
// Will return only the css link
echo $this->losHead()->getFontAwesomeLink();
//Will use the minified local version (both css and js)
echo $this->losHead()->addBootstrap();
//Will use the minified version
echo $this->losHead()->addBootstrap(true);
//Will use the 3.3.1 unminified version
echo $this->losHead()->addBootstrap(true, '3.3.1');
// Will only generate the javascript link
echo $this->losHead()->addBootstrapJs();
// Will only generate the css link
echo $this->losHead()->addBootstrapCss();
// Will only generate the css link url
echo $this->losHead()->addBootstrapCssLink();