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.

  1. 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.

    1. Open cursor.com/downloads in your browser.
    2. Choose macOS (Apple silicon or Intel) or Windows.
    3. Save the installer file (.dmg on Mac, .exe on Windows).
    Download Cursor
  2. Install Cursor

    Run the installer, then open Cursor from Applications (Mac) or the Start menu (Windows).

    macOS
    1. Open the downloaded .dmg file.
    2. Drag Cursor into your Applications folder.
    3. Launch Cursor — allow it in Security & Privacy if macOS asks.
    Windows
    1. Run the .exe installer you downloaded.
    2. Follow the setup wizard (defaults are fine).
    3. Open Cursor from the Start menu or desktop shortcut.
  3. 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.

    1. In Cursor, choose File → Open Folder… (Cmd+O / Ctrl+O).
    2. Create and select an empty folder (e.g. ev-cars-app).
    3. Open the AI panel (Cmd+L / Ctrl+L) and switch to Agent.
    4. Paste the prompt below and let Cursor install Laravel into this folder.
    5. When finished, confirm the folder contains artisan and composer.json.
    Prompt — install Laravel

    Install 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 artisan and composer.json — not a parent or nested subfolder.

  4. Install the Robotron extension

    The Robotron Deploy extension connects Cursor to Robotron hosting and deploys your Laravel app with one click.

    1. In Cursor, open Extensions (Cmd+Shift+X or Ctrl+Shift+X).
    2. Search for Robotron or open the marketplace link below.
    3. Click Install on Robotron Deploy (publisher: robotron-app).
    4. Reload the window if Cursor prompts you.
    Install Robotron extension

    Requires git on your computer (git --version in a terminal). Cursor 1.85+ recommended.

  5. 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.

    1. Open the AI panel again (Cmd+L / Ctrl+L).
    2. Describe layout, colors, sections, and copy — be specific.
    3. Review the generated Blade templates and CSS before accepting.
    4. Optional: run php artisan serve locally to preview at http://127.0.0.1:8000.
    Example prompt — electric cars landing page

    Create 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.

  6. 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.

    1. Run Go Live! from the Command Palette (Cmd+Shift+P), status bar, or Robotron sidebar.
    2. Shortcut: Cmd+Alt+D (Mac) or Ctrl+Alt+D (Windows).
    3. Wait for progress in the notification — Robotron pushes your code and provisions hosting.
    4. 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.