hhxsv5 / laravel-s

LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

NVD-R opened this issue · comments

  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 |

  1. 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'));
    }

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

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