0
7
Login
Code
Issues
Pull requests
Events
Packages
b606542efe946ca98a8b9f0c3187b1ae1d40289c
b606542efe946ca98a8b9f0c3187b1ae1d40289c

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