laravel / tinker by taylorotwell

Powerful REPL for the Laravel framework.
251,538,319
7,272
32
Package Data
Maintainer Username: taylorotwell
Maintainer Contact: taylor@laravel.com (Taylor Otwell)
Package Create Date: 2016-12-21
Package Last Update: 2024-03-12
Home Page: https://laravel.com/docs/artisan#tinker
Language: PHP
License: MIT
Last Refreshed: 2024-04-14 15:01:53
Package Statistics
Total Downloads: 251,538,319
Monthly Downloads: 5,812,524
Daily Downloads: 84,821
Total Stars: 7,272
Total Watchers: 32
Total Forks: 126
Total Open Issues: 0

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.