PHP code example of scholtz / bootstrap-php

1. Go to this page and download the library: Download scholtz/bootstrap-php 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/ */

    

scholtz / bootstrap-php example snippets



// using composer & autoload


// using basic T\ContainerFluid(new \BT\Row(new \BT\ColMd6("col1"),new \BT\ColMd6("col2")));

\BT\Settings::$prettyPrint = false;
if($c->show() == '<div class="container-fluid"><div class="row"><div class="col-md-6">col1</div><div class="col-md-6">col2</div></div></div>'){
	echo "Test ok\n";
}else{
	echo "Test failed";
}