fangx/hyperf-support

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

v3.0.0 2020-12-28 06:33 UTC

This package is auto-updated.

Last update: 2021-11-28 08:19:16 UTC


README

与 laravel 中的使用方法大致相同, 直接使用静态方式调用, 免去 di 的过程

composer require fangx/hyperf-support

内置

v1.2

  • Fangx\Facade\Support\Schema => Hyperf\Database\Schema\Builder, 使用方法等同于 Hyperf\Database\Schema\Schema

v1.1

  • Fangx\Facade\Support\Command => Fangx\Facade\Service\CommandService

v1.0

  • Fangx\Facade\Support\Event => Psr\EventDispatcher\EventDispatcherInterface
  • Fangx\Facade\Support\Log => Psr\Log\LoggerInterface
  • Fangx\Facade\Support\File => League\Flysystem\Filesystem
    • 需要安装并配置 hyperf/filesystem