0
7
Login
Code
Issues
Pull requests
Events
Packages
2c1eb0c53b638c2f35946e5ddf0e0e87c6a95b47
2c1eb0c53b638c2f35946e5ddf0e0e87c6a95b47

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