Since Laravel depends heavily on command-line interfaces, you will need to know a number of helpful commands to assist you while you build your applications.
Let’s first try to understand what a command-line interface is. Basically, it is a type of interactive shell that takes in single-user inputs, evaluates them, and returns the result to the user, in the form of a read-eval-print-loop (REPL) mechanism. Therefore, you can say that Tinker is a kind of REPL.
Actually, PHP has its own interactive shell, called PsySH; Justin Hileman created it, and Tinker is powered by PsySH.
Tinker helps you when you want ...