Skip to content

jorisros/ddev-laravel-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Automate Laravel 12 Project Setup with DDEV

This Bash script simplifies the process of creating a new Laravel 12 project using DDEV—a local development environment tool for PHP projects. It handles all the necessary configuration and setup steps, so you can start developing your Laravel application in minutes.

Requirements

DDEV installed and configured.

Todo

  • Make a installer
  • Let it work on Linux
  • Let it work on Windows (have no windows pc anymore)
  • Add feature to switch database (Mysql/Sqlite/Postgress)
  • Add option for FrankenPHP Let me know if you want anything added

Install script locally on OSX

Run this command only on linux

mkdir -p ~/.local/bin

Then add it to bash file

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc

And reload the variables of the terminal

source ~/.bashrc

This works on Linx and OSX

curl -fsSL https://raw.githubusercontent.com/jorisros/ddev-laravel-setup/main/setup-laravel.sh -o ~/.local/bin/ddev-laravel && chmod +x ~/.local/bin/ddev-laravel

Then can you run the creation of new projects script

ddev-laravel project-name

Development

git clone git@github.com:jorisros/ddev-laravel-setup.git
cd ddev-laravel-setup
chmod +x setup-laravel.sh
./setpu-laravel.sh

About

A project to store the script for DDEV project setup

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages