Skip to content

Boost install fails if env APP_DEBUG is false #117

@Wrenbjor

Description

@Wrenbjor

Laravel Package Version

1.0.14

Laravel Version

11.45.2

PHP Version

8.3.17

System Info

Windows 11 WSL Ubuntu 22.04

Description

php artisan boost:install

   ERROR  There are no commands defined in the "boost" namespace.  

That was the only info I got from the cli. I ran this though GPT5 and it found that its service provider only registers commands when config('app.debug') is true. I have a brownfield app that is not in debug mode as it wasn't needed.

The install should give a clear message about this being the reason it failed or APP_DEBUG=true should be required in the documentation.

Steps To Reproduce

in the .env have APP_DEBUG=false

run php artisan boost:install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions