PHP Artisan Laravel Tinker

Laravel Tinker remove history

Do you want to remove the Laravel Tinker history when you are in a Laravel Tinker session with

php artisan tinker

You can then run the command:

>>> history --clear

Within Laravel Tinker.

Method 2 to remove Tinker History

There are also traces left behind in the following folder


The file is called psysh_history

If you remove it, you will also remove the Laravel Tinker history of other Laravel instances on your server of Homestead environment. Be aware of this.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top