2017-07-03 19:04:27 +02:00
< p align = "center" > < img src = "https://laravel.com/assets/img/components/logo-tinker.svg" > < / p >
< p align = "center" >
< a href = "https://travis-ci.org/laravel/tinker" > < img src = "https://travis-ci.org/laravel/tinker.svg" alt = "Build Status" > < / a >
< a href = "https://packagist.org/packages/laravel/tinker" > < img src = "https://poser.pugx.org/laravel/tinker/d/total.svg" alt = "Total Downloads" > < / a >
< a href = "https://packagist.org/packages/laravel/tinker" > < img src = "https://poser.pugx.org/laravel/tinker/v/stable.svg" alt = "Latest Stable Version" > < / a >
< a href = "https://packagist.org/packages/laravel/tinker" > < img src = "https://poser.pugx.org/laravel/tinker/license.svg" alt = "License" > < / a >
< / p >
## 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.
2020-01-17 10:58:01 +01:00
### 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.
2017-07-03 19:04:27 +02:00
## License
2020-01-17 10:58:01 +01:00
Laravel Tinker is open-sourced software licensed under the [MIT license ](https://opensource.org/licenses/MIT ).