参考AOP配置 https://www.workerman.net/doc/webman/aop.html
报错
Declaration of Hyperf\AopIntegration\ClassLoader::init(?string $proxyFileDirPath = null, ?string $configDir = null): void must be compatible with Hyperf\Di\ClassLoader::init(?string $proxyFileDirPath = null, ?string $configDir = null, ?Hyperf\Di\ScanHandler\ScanHandlerInterface $handler = null):
看起来是hyperf/aop-integration不支持php8
应该是 刚看到已经有人将这个问题 提 issues了
试试我的插件
https://github.com/yzh52521/webman-aop
大佬 牛批