Top "Tinker" questions

Tinker is a REPL for the Laravel PHP framework.

Laravel 5.6 Tinker Class '...' not found in Psy Shell code on line 1

I'm trying to make a simple class in a fresh-installed Laravel. For this I have created a folder app/Convert …

laravel class tinker
Auth not working in Laravel Tinker

From within Tinker I am trying to: >>> Auth::loginUsingId(12); => false >>> Auth::user(); => …

laravel laravel-5 laravel-5.3 tinker
Unable to use Laravel Factory in Tinker

I am unable Model Factory in Laravel Tinker. //ItemFactory.php class ItemFactory extends Factory { /** * The name of the factory's corresponding …

php laravel tinker laravel-8