PHP code example of gdarko / twitter-bootstrap-grid
1. Go to this page and download the library: Download gdarko/twitter-bootstrap-grid 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/ */
gdarko / twitter-bootstrap-grid example snippets
use gdarko\Tools\TwitterBootstrapGrid;
$grid = new TwitterBootstrapGrid( $row_columns = 4 );
$columns = ["1", "2", "3", "4", "5", "6", "7"];
foreach($columns as $column){
$grid->addColumn($column);
}
echo $grid->build();