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
Laravel Idea

Ultimate PhpStorm plugin for Laravel developers, delivering lightning-fast code completion, intelligent navigation, and powerful generation tools to supercharge productivity.

Visit Laravel Idea
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
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
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
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
Join the Mastering Laravel community logo

Join the Mastering Laravel community

Connect with experienced developers in a friendly, noise-free environment. Get insights, share ideas, and find support for your coding challenges. Join us today and elevate your Laravel skills!

Join the Mastering Laravel community
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
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

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
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant 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
MongoDB logo

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB

The latest

View all →
Enhance Validation Testing Precision with Laravel's assertOnlyJsonValidationErrors image

Enhance Validation Testing Precision with Laravel's assertOnlyJsonValidationErrors

Read article
Generate HTTP Fixtures from Live API Calls in Laravel image

Generate HTTP Fixtures from Live API Calls in Laravel

Read article
Confidently Extract Single Array Items with Laravel's Arr::sole() Method image

Confidently Extract Single Array Items with Laravel's Arr::sole() Method

Read article
Safely Retry API calls in Laravel image

Safely Retry API calls in Laravel

Read article
Laravel's AsHtmlString Cast for Elegant HTML Attribute Management image

Laravel's AsHtmlString Cast for Elegant HTML Attribute Management

Read article
NativePHP for Mobile v1 — Launching May 2 image

NativePHP for Mobile v1 — Launching May 2

Read article