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

Documentation

Laravel Cloud
#

Tinkerwell allows you to run your code inside a the container of your Laravel Cloud application.

To start using Laravel Cloud with Tinkerwell, you first have to create an API key on their website. Then, paste the API key in Settings → Integrations → Laravel Cloud. Tinkerwell will automatically check if it can communicate with the Laravel Cloud API.

API token permissions
#

Laravel Cloud lets you scope the permissions of an API token. Tinkerwell needs these:

  • Applications – View applications
  • Environments – View environments, View environment instances, Create environment commands, View environment logs

All other resources (databases, caches, queues, filesystems, secrets, …) can stay on None. If the token is missing one of the permissions above, Tinkerwell either won't list your applications and environments or won't be able to run code on them.

After you have set up the API key in the Settings, click on the Runtime Settings icon in the toolbar next to the editor and select Laravel Cloud. Tinkerwell will fetch all applications with their environments that are available to your API key. Make sure to check the Evaluate Code on Laravel Cloud checkbox to ensure your code runs inside the selected Laravel Cloud application.

Please note that viewing logs of the cloud application is currently not supported by Laravel Cloud.