1. Go to this page and download the library: Download phpcolor/primer-colors 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/ */
phpcolor / primer-colors example snippets
use PhpColor\Colors\Primer\PrimerColors as Primer;
$colors = Primer::colors();
$colors = Primer::colors('light');
$colors = Primer::colors('dark');