Tinkerwell background image
Tinkerwell Logo Tinkerwell

Tinkerwell Blog

This blog is a collection of tutorials, news and use cases for Tinkerwell.

Enjoy the new Laracon Online themes 🍿

Published on

Laracon Online is one of the biggest online conferences in the web industry. As always, we at Beyond Code sponsor this event and our CTO Marcel gives a talk about UI and Component testing with Cypress. Tinkerwell ❤️ Laracon! This week, Tinkerwell received a new release on Monday. This release…

Enabling autocompletion for unrecognized classes

Published on

Tinkerwell supports fantastic autocompletion for many classes out of the box and if you use it on Laravel helpers or initialize classes directly, there is no need for additional steps to make it work. But sometimes Tinkerwell can't detect which class you are using in your code and does not provide…

Themes of Tinkerwell

Published on

You can customize Tinkerwell and select a theme of your choice. Tinkerwell supports custom variants of the popular themes Dracula, Night Owl, Material, Nord, GitHub, Solarized dark, Solarized light and Shades of Purple

Using Tinkerwell with Magento 2 and Warden

Published on

This is a basic tutorial on how to use Tinkerwell with Magento 2 to give you a quick idea of the magic that allows you to run code within the context of your application without actually changing a line of code or deploying to a server. Tinkerwell is the code runner for PHP that allows quick…

Using ProxyJump to connect to a remote host behind a firewall

Published on

In this post, we configure ProxyJump to connect to a remote server via a jumphost. This setup allows you to limit SSH connections to a production environment to a single IP address and add an extra layer of protection to your application. Additionally, we use local port forwarding to connect to the…

How to use a custom default project in Tinkerwell

Published on

Whether you only work on one project or use a different framework of choice, you can customize your Tinkerwell experience to your own needs. By default, Tinkerwell ships with a Laravel project that allows you to run framework independent PHP code as well as using helpers of Laravel to achieve daily…

Provisional classes in Tinkerwell

Published on

This article is a guest post by Sam Ciaramilaro Tinkerwell is an amazing tool by Beyond Code. Like many who use it, I find it an invaluable tool in my development toolbox. But, soon after I began using Tinkerwell, I discovered a little hidden gem. Provisional classes Tinkerwell allows you to create…

How to set up the 1Password SSH agent for secure SSH connections

Published on

Since we abandoned passwords to access web servers, SSH keys have been the primary way to connect to these servers. Simply generate a key pair, add the public key to the authorized_keys file of the server and you can connect. Unfortunately, many applications need to connect to these servers via your…

Wordpress plugin development with Tinkerwell

Published on

This is a case study by Martin from smbcoach.ca. In this article about plugin development for Wordpress with Tinkerwell, we're using Tinkerwell to create a prototype of the plugin before we change the project itself. This helps us sketching out the plugin within minutes and understand the effort…

Laravel caches and all ways to clear them

Published on

Laravel has different caches for different parts of your application and so there are multiple ways to clear the Laravel cache. Work smarter with Tinkerwell The must-have companion to your favorite IDE. Quickly run PHP code within the context of your web application without hitting the browser.…

How to check the Laravel version of your application

Published on

Sometimes you need to know the exact version of your Laravel application. Luckily, there are multiple ways how to check the version and you can use the one that fits your needs in a specific situation. Work smarter with Tinkerwell The must-have companion to your favorite IDE. Quickly run PHP code…

The ultimate guide to php artisan tinker

Published on

What is tinker? This post is dedicated to an underappreciated component of Laravel – the tinker command that you can run with php artisan tinker. The command is built into every Laravel application and you can use it to run code within the context of your application. Let's explore what this…

How to get the raw SQL query from the Laravel Query Builder

Published on

Sometimes, you ask yourself how you can get the Laravel query builder to output its raw SQL query as a string. Luckily, there are multiple ways how to get this raw query. Using Laravel Eloquent methods The first method to get the query of an Eloquent call is by using the toSql() method. This method…

Testing Laravel emails with Tinkerwell and HELO

Published on

There are many ways to test emails in Laravel applications. In this tutorial, we are using Tinkerwell to trigger the email and display the content in HELO to see how it looks in modern email clients. Configure HELO The configuration of HELO is straight forward. Simply set your mailer to SMTP on your…