News

Artisan Tinker in Vim with Tinkeray

Published
Artisan Tinker in Vim with Tinkeray image

Vim Tinkeray is a plugin that adds Artisan tinker support to Vim with output in Ray, the desktop debugger app by Spatie. This works by installing a Vim plugin and Laravel Ray in your project.

While working in Vim, you can run TinkerayOpen to open a tinkeray.php file in your project. When you save the tinkeray.php file, you should see the returned output in the Ray desktop app:

Tinkeray also supports Laravel Sail; check out the Laravel Sail Tinkeray setup in the readme. You can learn more about this plugin, get setup instructions, and view the source code on GitHub at jesseleite/vim-tinkeray.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Laravel Terminal UI for the artisan dev Command image

Laravel Terminal UI for the artisan dev Command

Read article
Pause All Queues and a New artisan dev UI in Laravel 13.25 image

Pause All Queues and a New artisan dev UI in Laravel 13.25

Read article
Laravel monitoring that doesn't bill you by your traffic image

Laravel monitoring that doesn't bill you by your traffic

Read article
Mock PHP Classes in Tests With the Double Library image

Mock PHP Classes in Tests With the Double Library

Read article
Laravel Discount: Coupon Codes, Usage Limits, and Stacking image

Laravel Discount: Coupon Codes, Usage Limits, and Stacking

Read article
Laravel Truss: Live Interactive Database ER Diagrams image

Laravel Truss: Live Interactive Database ER Diagrams

Read article