You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this package is installed, it overrides VarDumper handler that comes from Laravel (Illuminate\Foundation\Http\HtmlDumper and Illuminate\Foundation\Console\CliDumper).
To compare, when the package is not installed:
And when it is installed, but the command not running:
The same in CLI.
When the command (php artisan dump-server) is not running, I would like to see the file context by default.
Suggestion:
As a suggestion, maybe the setting could be introduced to enable/disable the package? E.g. config:
When this package is installed, it overrides VarDumper handler that comes from Laravel (
Illuminate\Foundation\Http\HtmlDumper
andIlluminate\Foundation\Console\CliDumper
).To compare, when the package is not installed:
And when it is installed, but the command not running:
The same in CLI.
When the command (
php artisan dump-server
) is not running, I would like to see the file context by default.Suggestion:
As a suggestion, maybe the setting could be introduced to enable/disable the package? E.g. config:
Then in
DumpServerServiceProvider
it could be conditionally loaded:The command
php artisan dump-server
could give an error if it is not enabled:This would allow users to choose if they want it always enabled, or occasionally and would not override other VarDump registered handlers.
WDYT, I could open a pull request if it's reasonable idea.
The text was updated successfully, but these errors were encountered: