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.
This package is abandoned and no longer maintained. The author suggests using the fangx/hyperf-support package instead.

v1.0.1 2020-04-22 09:25 UTC

This package is auto-updated.

Last update: 2020-08-14 08:54:10 UTC


请使用 fangx/hyperf-support 替代

Hyperf 下 facade 支持

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

composer require fangx/facade


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