hhxsv5 / laravel-s

LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
MIT License
3.82k stars 471 forks source link

Target class [swoole] does not exist error in console command with laravels server start and up #459

Closed NVD-R closed 7 months ago

NVD-R commented 7 months ago
  1. Your software version (Screenshot of your startup)

    | Component | Version | +---------------------------+---------+ | PHP | 8.2.6 | | Swoole | 5.0.1 | | LaravelS | 3.7.37 | | Laravel Framework [local] | 10.32.1 |

  2. Detail description about this issue(error/log)

Laravels is start and up but in console kernel or commands cant accsees to app('swoole')

Target class [swoole] does not exist.

  1. Some reproducible code blocks and steps

    public function handle()
    {
        dd(app('swoole'));
    }
hhxsv5 commented 7 months ago

This scenario is not supported. Known issues Class swoole does not exist

NVD-R commented 7 months ago

so i cant call Task deliver in kernel console schedule. do you have any solution?