PHP code example of eznio / styler
1. Go to this page and download the library: Download eznio/styler 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/ */
eznio / styler example snippets
echo Styler::get(Styles::HYPERLINK) . 'this looks like a link' . Styler::reset() . "\n";
echo Styler::get([
BackgroundColors::WHITE,
ForegroundColors::BLUE,
TestStyles::UNDERLINE
]) . 'this looks like a link too!' . Styler::reset() . "\n";
Styler::get(array $style)
Styler::single($style)
Styler::combined(array $styles)
Styler::reset()