Tinkerwell 5: Welcome to the AI age
See what's new
Tinkerwell background image
Tinkerwell Logo Tinkerwell

Documentation

Using the Laravel Sandbox
#

Tinkerwell ships with a built-in Laravel application called the Laravel Sandbox. It's a full Laravel installation bundled inside Tinkerwell, always running the latest version — so you can start writing and evaluating PHP code immediately without creating or connecting to a project first.

Use Laravel helpers to generate slugs and UUIDs or simple PHP functions like str_replace or go wild with API calls via the Http facade and collections.

collect(Http::get('https://api.github.com/orgs/beyondcode/repos')->json())
->filter(function ($repo) {
return $repo['stargazers_count'] > 100;
})
->map(function ($repo) {
return $repo['full_name'];
});

Using a different project as default
#

You can set a custom default project in the advanced settings. When set, new tabs will open that project instead of the Laravel Sandbox.

This is useful if you mainly work on one project or use a different framework than Laravel.