mehrizi / bootstrap.customizer
A Bootstrap 4 customizer with PHP
0.0.5RC
2019-03-19 09:21 UTC
Requires
- leafo/scssphp: 0.7.7
- twbs/bootstrap: 4.0.0
Requires (Dev)
- leafo/scssphp: 0.7.7
- twbs/bootstrap: 4.0.0
README
Bootstrap v4 PHP customizer
This is a simple library to allow customize Bootstrap 4 and get css file out of it.
Installing
###Composer:
composer require mehrizi/bootstrap.customizer`
Package:
download the .zip package and extract
Usage:
Include (composer): vendor/mehrizi/bootstrap.customizer/src/customizer.php
or bootstrap.customizer/src/customizer.php
and you can use it as follows:
$sample = new Mehrizi\Bootstrap\Customizer(['primary'=>"#0000FF"]);
$sample->build (true,true,false);
The build function parameters are:
* 1st: true/false or path string =>default:false(return)
* 2nd: bool => default:true(minified)
* 3rd: bool => default:true(use caching)