Skip to content

Everhard/docker-laravel-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Installer - Docker Image

Static Badge Static Badge Docker Pulls GitHub License

A minimal and ready-to-use Docker image to quickly scaffold new Laravel projects using the official Laravel Installer.

Features

  • Based on the official Laravel Sail Docker image.
  • Includes the latest Laravel Installer.
  • Clean and lightweight.
  • Ready to use with docker run.

Usage

To create a new Laravel project using this image, run the following command:

docker run --rm -it \
  -v "$(pwd):/app" \
  -u $(id -u):$(id -g) \
  steadfast/docker-laravel-installer \
  new example

Tip

Replace example with the name of the folder where your new Laravel project should be created. The folder will be created inside your current working directory.

Demo

Demo

Background

Although Laravel provides an official Docker base image for development, there is no dedicated image that includes the latest version of the Laravel Installer.

Since the Laravel Installer is updated frequently with new features, I decided to create this image to always include the most up-to-date version — cloned directly from the official GitHub repository at build time.

About

Lightweight Docker image with the latest Laravel Installer for quickly creating new Laravel projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published