Cursor + Laravel + Robotron
Build & launch a Laravel app
From a blank folder to a live HTTPS URL — download Cursor, ask it to install Laravel and build your site, then ship it with the Robotron extension. No manual server setup required.
-
Download Cursor
Cursor is an AI code editor built on VS Code. You will use it to create your Laravel app and deploy with Robotron.
- Open cursor.com/downloads in your browser.
- Choose macOS (Apple silicon or Intel) or Windows.
- Save the installer file (
.dmgon Mac,.exeon Windows).
-
Install Cursor
Run the installer, then open Cursor from Applications (Mac) or the Start menu (Windows).
macOS
- Open the downloaded
.dmgfile. - Drag Cursor into your Applications folder.
- Launch Cursor — allow it in Security & Privacy if macOS asks.
Windows
- Run the
.exeinstaller you downloaded. - Follow the setup wizard (defaults are fine).
- Open Cursor from the Start menu or desktop shortcut.
- Open the downloaded
-
Ask Cursor to install Laravel
Open a new empty folder in Cursor, then let the AI scaffold a fresh Laravel app for you. Cursor can run Composer and set up the project — you do not need to type commands yourself.
- In Cursor, choose File → Open Folder… (Cmd+O / Ctrl+O).
- Create and select an empty folder (e.g.
ev-cars-app). - Open the AI panel (Cmd+L / Ctrl+L) and switch to Agent.
- Paste the prompt below and let Cursor install Laravel into this folder.
- When finished, confirm the folder contains
artisanandcomposer.json.
Prompt — install LaravelInstall a fresh Laravel app in this folder. Run composer create-project laravel/laravel . in the current directory (or equivalent). Make sure artisan and composer.json are at the project root. Do not create a subfolder — the Laravel root should be this workspace.
Tip: Robotron deploys whatever folder is open. The workspace root must contain
artisanandcomposer.json— not a parent or nested subfolder. -
Install the Robotron extension
The Robotron Deploy extension connects Cursor to Robotron hosting and deploys your Laravel app with one click.
- In Cursor, open Extensions (Cmd+Shift+X or Ctrl+Shift+X).
- Search for Robotron or open the marketplace link below.
- Click Install on Robotron Deploy (publisher: robotron-app).
- Reload the window if Cursor prompts you.
Requires git on your computer (
git --versionin a terminal). Cursor 1.85+ recommended. -
Ask Cursor to build a landing page
Now describe the site you want. Cursor will add routes, controllers, and Blade views inside your Laravel app. Iterate in chat until the design looks right.
- Open the AI panel again (Cmd+L / Ctrl+L).
- Describe layout, colors, sections, and copy — be specific.
- Review the generated Blade templates and CSS before accepting.
- Optional: run
php artisan servelocally to preview athttp://127.0.0.1:8000.
Example prompt — electric cars landing pageCreate a modern landing page for an electric car brand called "VoltDrive". Replace the default welcome page. Include a full-width hero with a headline and call-to-action button, a section showcasing three EV models with images placeholders, a features grid (fast charging, long range, zero emissions), and a footer with contact info. Use a sleek dark theme with electric blue accents. Build it with Blade views and Tailwind CSS in this Laravel app.
-
Go Live!
One command ships your Laravel app to a live HTTPS URL. Robotron detects Laravel automatically, provisions MySQL, runs Composer, and serves your app in Docker.
- Run Go Live! from the Command Palette (Cmd+Shift+P), status bar, or Robotron sidebar.
- Shortcut: Cmd+Alt+D (Mac) or Ctrl+Alt+D (Windows).
- Wait for progress in the notification — Robotron pushes your code and provisions hosting.
- Click Open Website when deploy finishes. Your app is live at a URL like
voltdrive.xyz.robotron.app.
First deploy creates your Robotron account automatically. Redeploy after edits with the same command. Robotron sets production
APP_KEY,APP_URL, and MySQL credentials for you. Manage all sites in My Apps.
Ready to launch Laravel?
Download Cursor, ask AI to install Laravel and build your landing page, then go live in minutes. Free hosting with MySQL and Docker for Laravel apps.