There are scenarios where you have to act as a specific user such as during debugging and sometimes logging in as a user that is accessible via web ui like the admin dashboard is not a feature in the app.
This snippet allows you to generate a session cookie as a specific user that you can then inject to your browser.
- Enter Laravel Tinker