PHPackages                             dklis/chalk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. dklis/chalk-php

ActiveLibrary[CLI &amp; Console](/categories/cli)

dklis/chalk-php
===============

PHP library to beautify your CLI messages

1.0.6(4y ago)012BSD-3-ClausePHPPHP ^8.1

Since Feb 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dklisiarchis/chalk-php)[ Packagist](https://packagist.org/packages/dklis/chalk-php)[ RSS](/packages/dklis-chalk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (8)Used By (0)

About
-----

[](#about)

Chalk is a small PHP library for adding ANSI colors and other text transformations to CLI text output.

[![Build & Test](https://github.com/dklisiarchis/chalk-php/actions/workflows/php.yml/badge.svg)](https://github.com/dklisiarchis/chalk-php/actions/workflows/php.yml)[![Minimum PHP Version](https://camo.githubusercontent.com/2d18ce514c7016022dad012ac9e39a8b6f47cc411b2daff6627cbf208f8cea63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/a9e6461ad3c8def18c922aa413cf1a0d63be024a6a65d5fef4e7a58c407a8cd7/687474703a2f2f706f7365722e707567782e6f72672f646b6c69732f6368616c6b2d7068702f76)](https://packagist.org/packages/dklis/chalk-php)[![License](https://camo.githubusercontent.com/0b95a0d1ab8dcf3af30f60a668647d6ef3ec4149a3293ec20afb9f73c2dbe401/687474703a2f2f706f7365722e707567782e6f72672f706870756e69742f706870756e69742f6c6963656e7365)](https://packagist.org/packages/phpunit/phpunit)

Requirements
------------

[](#requirements)

Chalk requires PHP version 8.1 or greater.

Installation
------------

[](#installation)

The easiest way to get started with Chalk is through composer:

```
# Install as dependency
composer require "dklis/chalk-php"

```

Usage
-----

[](#usage)

```
