-
Notifications
You must be signed in to change notification settings - Fork 8
01 – Getting Started
Nicholas Jordon edited this page Aug 30, 2016
·
3 revisions
Run composer require projectcleverweb/php-color
from the command line OR add the below line to your composer.json file and run composer update
.
"require": {
"projectcleverweb/php-color":"~1.0"
}
- Download the latest release from the Releases Page on Github.
- Add the autoloader somewhere in your application. (e.g.
require_once __DIR__.'/PHP-Color/autoload.php'
)
While this is optional, it is recommended to use PHP's use … as …
syntax, like below:
use projectcleverweb\color\main as color;
Copyright © 2016 Nicholas Jordon
This documentation is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.