Paragonik/paragonik-backend/vendor/laravel/tinker/README.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

2019-12-07 16:47:41 +01: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.
### 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](https://opensource.org/licenses/MIT).