Introducing Polyscope! The agent-first dev environment. Introducing Polyscope! The agent-first dev environment. Run coding agents in parallel and ship faster than ever. Learn more
On Laravel Playground, you can toggle the file selection view by clicking the file icon.

In this list, you can swith between different opened files by clicking on them. To create a new file, press the plus button on the upper right. Then you can enter the filename for the newly created file.
If your files end with the .blade.php extension, Laravel Playground will automatically make them available as views for your executed code.
<?php
Route::get('/', function() {
return view('embedded');
});
<h1>I got embedded!</h1>
You can create custom environment keys or override existing settings by creating a file named .env. This file behaves like a regular .env file.
Note: Beware that you should not store any keys that are meant to be secret in your env file. The file content will be visible when shared/embedded.
<?php
Route::get('/', function() {
dd(env('EXAMPLE_KEY'));
});
EXAMPLE_KEY="This is a custom env variable"
Speed up your workflow with Windy – the browser extension that transforms any HTML element into a Tailwind CSS component.
Learn more