| Install | |
|---|---|
composer require rasmusgodske/laravel-sail-vue-starterkit |
|
| PHP: | ^8.2 |
This is a boilerplate that sets up a Laravel Project with Vue 3, InertiaJs, Tailwind CSS, Laravel Sail and Devcontainer.
It is designed to be used with the Laravel CLI tool.
The easiest way to create a new project using this boilerplate is to use the Official Laravel CLI tool laravel/installer.
This method requires you to have the Laravel CLI tool installed globally on your system.
Requires:
To install the Laravel CLI tool globally, run the following command:
composer global require laravel/installer
Once you have the Laravel CLI tool installed, you can create a new project using the following command:
APP_NAME=new-app
laravel new $APP_NAME --using=rasmusgodske/laravel-sail-vue-starterkit
If you prefer not to install the Laravel CLI tool globally, you can use the docker-laravel-cli which provides a Docker wrapper for the Laravel CLI tool. This allows you to run the Laravel CLI commands without installing it globally on your system.
APP_NAME=new-app
docker run -it --rm -v $(pwd):/workspace -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) godske/docker-laravel-cli:latest laravel new $APP_NAME --using=rasmusgodske/laravel-sail-vue-starterkit
For detailed documentation on how this specific starter kit is set up, please refer to the Setup Guide.