Laravel-swoole: laravel Dingo/Api route config not work in swoole http mode

Created on 1 Sep 2018  ·  2Comments  ·  Source: swooletw/laravel-swoole

PHP version 7.2.9, Laravel Framework version 5.6-dev, Laravel Swoole version 2.4

using composer require dingo/api component into project, it will be generated all config file in project, but api route file not woking in swoole http mode, all api url throw 404 error, use php-cli built in http server it will work fine

this problem is caused by dingoApi?

question

All 2 comments

I haven't tested this package with dingo-api, but laravel-swoole doesn't guarantee to be compatible with third-party packages.

Please follow Issues Guideline and Debug Guideline to provide more information. You need to debug by yourself first.

add 'router' into clear instances array, problem resolved, thanks!

Was this page helpful?
0 / 5 - 0 ratings