This is a template for a Laravel project. You can use it to create a new Laravel project. It is useful if you don't have PHP or composer installed on your machine and you still want to use Laravel.
The project contains a Docker image that you can use to run your Laravel project. It is based on dunglas/frankenphp. It also contains a .devcontainer.json
file that you can use to create a new VS Code development environment.
- Docker and Docker Compose installed on your machine
- VSCode (optional)
- Fork this repository
- Go to Actions and click on the workflow
Build new Laravel project
- Click on the
Run workflow
button and fill in the form questions regarding your project - Wait for the workflow to finish
- Clone your repository
- Copy the env file from the
.env.example
file to the.env
file - Run
docker-compose up -d
to start the Docker container - Open your project in VSCode
The Docker container is configured also to run in production mode. You would need to target the prod
build stage when building the image.
If you have any suggestions or improvements, feel free to open an issue or a pull request.
This project is licensed under the MIT License - see the LICENSE file for details