Download the PHP package tdtrung17693/php-chalk without Composer
On this page you can find all versions of the php package tdtrung17693/php-chalk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tdtrung17693/php-chalk
More information about tdtrung17693/php-chalk
Files in tdtrung17693/php-chalk
Download tdtrung17693/php-chalk
More information about tdtrung17693/php-chalk
Files in tdtrung17693/php-chalk
Vendor tdtrung17693
Package php-chalk
Short Description Just another PHP terminal string styling
License Apache-2
Package php-chalk
Short Description Just another PHP terminal string styling
License Apache-2
Please rate this library. Is it a good library?
Informations about the package php-chalk
PHP Chalk
A PHP terminal styling library inspired by Chalk
Features
- Support 16 colors, 256 colors and Truecolor (16m colors) mode.
- Support style chaining.
- Support style nesting.
Installation
Through composer
Manually:
Just download/clone this repo
Usage
See examples
to know more about how to use this library.
Screenshot:
API
$chalk-><style>[-><style>...](string, [string...])
Example: $chalk->bgGreen->red->bold('Background green red bold text')
$chalk->hasColorSupport(), $chalk->has256Support(), $chalk->has16mSupport()
Return true if the corresponding feature is supported.
Styles supported
reset
,bold
,dim
,underscore
,italic
,strikethrough
,blink
.red
,green
,yellow
,blue
,magenta
,cyan
,white
lightGray
,darkGray
,lightRed
,lightGreen
,lightYellow
,lightBlue
,lightMagenta
,lightCyan
- Each of the color styles above with the prefix
bg
Contribute
Feel free to contribute by forking or making suggestions.
All versions of php-chalk with dependencies
PHP Build Version
Package Version
Requires
tdtrung17693/php-os-recognizer Version
^1.0
The package tdtrung17693/php-chalk contains the following files
Loading the files please wait ....