Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does LaravelS support Laravel 6.x? 是否支持Laravel 6.x? #208

Closed
zaoy opened this issue Nov 23, 2019 · 2 comments
Closed

Does LaravelS support Laravel 6.x? 是否支持Laravel 6.x? #208

zaoy opened this issue Nov 23, 2019 · 2 comments
Labels
question Further information is requested

Comments

@zaoy
Copy link

zaoy commented Nov 23, 2019

  1. Tell us your software version
    How to know it?

    # PHP
    php -v
    # Swoole
    php --ri swoole
    # Laravel
    grep 'laravel/framework' composer.json
    # Lumen
    grep 'laravel/lumen-framework' composer.json
    Software Version
    PHP TODO
    Swoole TODO
    Laravel/Lumen 6.x
  2. Detail description about this issue(error/log)

    TODO

  3. Give us a reproducible code block and steps

    //TODO: Your code
@hhxsv5 hhxsv5 added the question Further information is requested label Nov 26, 2019
@hhxsv5
Copy link
Owner

hhxsv5 commented Dec 1, 2019

Laravel 6 relies on ignition, currently there will be compatibility issues Action Facade\Ignition\Http\Controllers\ShareReportController not defined., fundamentally, the reason is that Swoole runs in cli mode, and ignition does [special processing](https://github.com/facade/ignition/blob/1.13.0/src/IgnitionServiceProvider.php # L135)) according to the running mode.
Configurable environment variable APP_RUNNING_IN_CONSOLE to solve temporarily.

APP_RUNNING_IN_CONSOLE = false

Fixed Application: isRunningInConsole being cached

Laravel 6依赖了ignition,目前会出现兼容性问题Action Facade\Ignition\Http\Controllers\ShareReportController not defined.,根本原因是Swoole运行在cli模式下,而ignition根据运行模式做了特殊处理
可配置环境变量APP_RUNNING_IN_CONSOLE来临时解决。

APP_RUNNING_IN_CONSOLE=false

Fixed Application: isRunningInConsole being cached

@hhxsv5 hhxsv5 closed this as completed Dec 10, 2019
@hhxsv5 hhxsv5 pinned this issue Feb 4, 2020
@hhxsv5 hhxsv5 changed the title 请问是否支持Laravel 6.x? Support Laravel 6.x? 请问是否支持Laravel 6.x? Feb 4, 2020
@hhxsv5 hhxsv5 changed the title Support Laravel 6.x? 请问是否支持Laravel 6.x? Is Laravel 6.x supported?? 请问是否支持Laravel 6.x? Feb 4, 2020
@hhxsv5 hhxsv5 changed the title Is Laravel 6.x supported?? 请问是否支持Laravel 6.x? Is Laravel 6.x supported? 请问是否支持Laravel 6.x? Feb 4, 2020
@hhxsv5 hhxsv5 changed the title Is Laravel 6.x supported? 请问是否支持Laravel 6.x? Is Laravel 6.x supported? 是否支持Laravel 6.x? Feb 4, 2020
@hhxsv5 hhxsv5 changed the title Is Laravel 6.x supported? 是否支持Laravel 6.x? Does LaravelS support Laravel 6.x? 是否支持Laravel 6.x? Feb 4, 2020
@juslintek
Copy link

juslintek commented May 29, 2020

Do not use APP_RUNNING_IN_CONSOLE=false if you use Horizon for job management and monitoring. It will break it and it will not be able to spawn the supervisor process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants