What could be an easy way to see .php file output in terminal?
Many a times, I quickly wish to create laravel project and quickly use some in-built classes to perform some calculations.
In order to see the output, what I tend to do is,
create a route
write my logic within it
access it using browser to print output and check my logic.
Is there any way to just get the output in terminal ?
Note: I could use plain php but sometimes I need to access vendor files of laravel framework. That is why I am looking for a specific solution to my problem.
@rodrigo.pedra Did you bind that route yourself? As far as I know, laravel does not come with a routes/artisan.php file? Or did you mean routes/console.php ?