What is tinker in laravel?
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.
Suggest An Answer
Laravel tinker is a console that helps us to interact with our Laravel application with command line interface.
tinker allowed us to use crud operation on the database using a command line interface
Laravel includes a powerful REPL, called Tinker, powered by the PsySH console by