thiiagoms/pretty-print

There is no license information available for the latest version (1.0.0) of this package.

Pretty CLI print

1.0.0 2022-12-06 14:16 UTC

This package is auto-updated.

Last update: 2024-12-07 07:08:28 UTC


README

Logo

Pretty CLI Print made with PHP 🐘🐚

Dependencies

  • PHP 8.1+
  • Composer or Docker

Install

01 - Clone this repository:

$ git clone https://github.com/thiiagoms/pretty-print

02 - Install dependencies with composer:

$ cd pretty-print
pretty-print $ composer install

03 - Execute local example:

pretty-print $ php example.php

Install as package 📦

01 - Install package:

your-project $ composer require --dev thiiagoms/pretty-print

02 - Example:

<?php

use PrettyPrint\Printer;

require_once __DIR__ . '/vendor/autoload.php';

Printer::info('Test');
Printer::success('Test');
Printer::warning('Test');
Printer::error('Test');