Google News
logo
Laravel - Interview Questions
What is tinker in Laravel?
In Laravel, tinker is a powerful REPL tool used to interact with the Laravel application using the command line in an interactive shell. It comes with the release version of 5.4, extracted in a separate package.
 
For installing Tinker, run the following command :
composer require laravel/tinker
For executing Tinker, execute the following command :
php artisan tinker
Advertisement