friendsofhyperf / pretty-console
The pretty console component for Hyperf.
Fund package maintenance!
huangdijia
hdj.me/sponsors
Requires
- hyperf/command: ~3.1.13
- hyperf/contract: ~3.1.0
- hyperf/stringable: ~3.1.0
- hyperf/support: ~3.1.0
- hyperf/tappable: ~3.1.0
- nunomaduro/termwind: ^1.13 || ^2.0
- dev-main / 3.1.x-dev
- v3.1.48
- v3.1.41
- v3.1.39
- v3.1.31
- v3.1.29
- v3.1.28.2
- v3.1.28
- v3.1.18
- v3.1.17
- v3.1.1
- v3.1.0
- v3.1.0-rc.22
- v3.1.0-rc.4
- v3.1.0-beta.20
- v3.1.0-beta.15
- v3.1.0-beta.9
- v3.1.0-beta.1
- 3.0.x-dev
- v3.0.85
- v3.0.80
- v3.0.70
- v3.0.55
- v3.0.52
- v3.0.51
- v3.0.49
- v3.0.45
- v3.0.44
- v3.0.42
- v3.0.35
- v3.0.14
- v3.0.6
- v3.0.5
- v3.0.2
- v3.0.0
- v3.0.0-rc.30
- v3.0.0-rc.16
- v3.0.0-rc.12
- v1.0.0-rc.1
- v1.0.0-beta8
- v1.0.0-beta7
- v1.0.0-beta6
- v1.0.0-beta5
- v1.0.0-beta4
- v1.0.0-beta3
- v1.0.0-beta2
- v1.0.0-beta1
This package is auto-updated.
Last update: 2024-12-04 02:42:18 UTC
README
The pretty console component for Hyperf.
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.'); } }