Laravel Tinker is a powerful REPL tool which is used to interact with Laravel application with the command line in an interactive shell. Tinker came with the release of version 5.4 is extracted into a separate package.

How to install tinker

composer require laravel/tinker

How to execute

To execute tinker we can use php artisan tinker command.

BY Best Interview Question ON 02 Mar 2023