Tinkerwell 3 - The PHP code runner is released

Published on by

Tinkerwell 3 - The PHP code runner is released image

The team at Beyond Code released Tinkerwell 3 with intelligent code completion, magic comments and a stunning new design.

Tinkerwell is the best code runner for Laravel and PHP – think php artisan tinker on steroids. You can run any PHP code, use any feature of the latest Laravel versions and run code within your own applications locally or via SSH. Rapid prototyping, comfortable debugging or using custom every-day Eloquent queries within your apps without creating scratch files, /test routes or refreshing your browser.

Intelligent code completion

Tinkerwell 3 includes an outstanding code completion experience out of the box. Tinkerwell indexes your codebase and provides instant autocompletion – even when connecting to remote projects via SSH. Find exactly the part of your code that you need with fuzzy search logic, no matter if you are searching for classes, methods, constants, or simply want to chain method calls. Helpful documentation snippets make tinkering with your code even easier.

Magic comments

By using a special comment syntax you can quickly dump out variables, perform method calls in the middle of a method chain, and even measure the time of your code execution.

Take this snippet for example:

collect(Http::get('https://api.github.com/orgs/beyondcode/repos')/*?->status()*/
->json())
->map(function ($repo) {
$repo["id"]; //?
return [
'full_name' => $repo["full_name"],
'stars' => $repo["stargazers_count"]
];
});

Usually, if you would like to see the status code of the HTTP request, you would need to store the response in a temporary variable, and dump it out separately. Using magic comments in Tinkerwell 3, you can dump out the status() method response right inline in the editor, saving you a lot of time getting the most out of your code.

Here's what the result looks like:

Debugging made easier

In addition to magic comments, the improved code editor in Tinkerwell 3 has some cool new features! Automatic code coverage adds colored indicators next to your code that will tell you exactly which line of your code was executed, and which one wasn't.

Got an error in your code? The error message will be shown directly next to the code that produced it.

Beautiful new UI

The whole user interface of Tinkerwell 3 received a fresh coat of paint. While the theme would previously only style the look and feel of the code editor, the UI of Tinkerwell 3 is now thoroughly designed to match your preferred theme.

Are you often switching between a dark-mode and light-mode in your OS? Your eyes will thank you, because Tinkerwell 3 allows you to dynamically switch themes based on your operating system's preference.

Improved Docker and WSL support

The new version of Tinkerwell supports more Docker environments. Developers using Laravel Sail, DDEV, Warden can find new setup guides for their specific environment in the Tinkerwell documentation. With first-party WSL/Docker support, Tinkerwell got even easier to setup using the recommended Laravel setup flow on Windows.

How to get Tinkerwell 3

Tinkerwell 3 is a free update for everyone who has an active Tinkerwell license that qualifies for updates. Simply start your app and apply the update. Don't have a license yet? No problem – go to the Tinkerwell website and get the app.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
No Compromises

Join the Mastering Laravel community to level up your skills and get trusted advice

Visit No Compromises
Laravel Forge logo

Laravel Forge

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Forge
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $7500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $2500/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Lucky Media logo

Lucky Media

Bespoke software solutions built for your business. We ♥ Laravel

Lucky Media
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce
LaraJobs logo

LaraJobs

The official Laravel job board

LaraJobs
Larafast: Laravel SaaS Starter Kit logo

Larafast: Laravel SaaS Starter Kit

Larafast is a Laravel SaaS Starter Kit with ready-to-go features for Payments, Auth, Admin, Blog, SEO, and beautiful themes. Available with Vue and Livewire stacks.

Larafast: Laravel SaaS Starter Kit
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Rector logo

Rector

Your partner for seamless Laravel upgrades, cutting costs, and accelerating innovation for successful companies

Rector

The latest

View all →
Real Time Command Line Monitoring With Laravel Top image

Real Time Command Line Monitoring With Laravel Top

Read article
A New Validation Rule and the Ability to Manually Fail a Command in Laravel 11.8 image

A New Validation Rule and the Ability to Manually Fail a Command in Laravel 11.8

Read article
New Proposed Array Find Functions in PHP 8.4 image

New Proposed Array Find Functions in PHP 8.4

Read article
Laracon AU 2024 tickets are now on sale image

Laracon AU 2024 tickets are now on sale

Read article
Dash UI is a Laravel Blade Component Library Inspired by Shopify Polaris image

Dash UI is a Laravel Blade Component Library Inspired by Shopify Polaris

Read article
Is class instantiation without extra parenthesis coming to PHP 8.4? image

Is class instantiation without extra parenthesis coming to PHP 8.4?

Read article