0
7
Login
Code
Issues
Pull requests
Events
Packages
6024c0eb3e1a2e93c1bf749b9ac9498a8d2598be
6024c0eb3e1a2e93c1bf749b9ac9498a8d2598be

Pretty Console

Latest Test Latest Stable Version Total Downloads License

image

Installation

composer require friendsofhyperf/pretty-console

Usage

<?php
use FriendsOfHyperf\PrettyConsole\Traits\Prettyable;
use Hyperf\Command\Command as HyperfCommand;
use Hyperf\Command\Annotation\Command;

#[Command]
class FooCommand extends HyperfCommand
{
    use Prettyable;

    public function function handle()
    {
        $this->components->info('Your message here.');
    }
}

Thanks