Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

DDEV Laravel + Next.js Addon

A DDEV addon that sets up a Laravel backend with Next.js frontend in separate containers.

What it does

Installation

In a new directory, initialize ddev

ddev config --project-type=php

then get the addon from the addon registry

ddev get ddev/ddev-laravel-nextjs

or from a local location

ddev get /path/to/this/addon

Usage

After installation, bootstrap your project:

ddev start && ddev laravel-nextjs-setup

Available Commands

Project Structure

project/
├── backend/          # Laravel application
├── frontend/         # Next.js application
└── .ddev/           # DDEV configuration

Next Steps

  1. Run ddev artisan migrate to set up your database
  2. Start building your application!

URLs