Laravel Tinker is a powerful REPL for the Laravel framework.
To get started with Laravel Tinker, simply run:
composer require laravel/tinker
Next, register the Laravel\Tinker\TinkerServiceProvider
in your config/app.php
file:
'providers' => [
// Other service providers...
Laravel\Tinker\TinkerServiceProvider::class,
],
From your console, execute the php artisan tinker
command.
Laravel Tinker is open-sourced software licensed under the MIT license