How to hide .env passwords in Laravel whoops output

In Laravel when any error comes when whoops output shows and there all your env variable shows. so its become insecure application so to avoid this we need to few lines of code in our file and after that, all your information will be hidden.

you need to navigate to your config directory open app.php
'debug_blacklist' => [
'_SERVER' => array_keys($_ENV),
'_ENV' => array_keys($_ENV),
],