GitHub - friendsofhyperf/pretty-console: [READ-ONLY]The pretty console component for Hyperf. · GitHub
Skip to content

friendsofhyperf/pretty-console

Folders and files

Repository files navigation

Pretty Console

中文说明

Latest Test Latest Stable Version Total Downloads License

The pretty console component for Hyperf.

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

Contact

License

MIT

About

[READ-ONLY]The pretty console component for Hyperf.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

Contributors

Languages