Introduction
Laravel Tinker is a powerful REPL for the Laravel framework.
Installation
To get started with Laravel Tinker, simply run:
composer require laravel/tinker
Basic Usage
From your console, execute the php artisan tinker command.
Dispatching Jobs
The dispatch helper function and dispatch method on the Dispatchable class depends on garbage collection to place the job on the queue. Therefore, when using tinker, you should use Bus::dispatch or Queue::push to dispatch jobs.
License
Laravel Tinker is open-sourced software licensed under the MIT license.