iTranslated by AI
A Quick Guide to Starting Laravel Development on Windows
TL;DR
- bitnami/laravel is great
That's all.
Getting started with Laravel development on Windows
I decided to set up a Laravel environment because I'm teaching someone who wants to develop with Laravel on Windows.
Since the local PC used for development isn't a Mac, Valet isn't an option.
When I touched it briefly before, I was able to create an environment quickly with Laravel Homestead, so I thought I'd try a different method this time and set it up using Docker.
To do that, I needed to set up PHP + Composer on the Windows machine for project initialization.
- Installing PHP 7.1 and Composer on Windows 10 - MSeeeeN
There's also Laradock
Looking at various options, there's a project called Laradock, and my impression is that they are trying to do something like Homestead with Docker Compose. I could have used this, but...
- Laradock
- Building a Laravel development environment using Laradock - Qiita
Conclusion: bitnami/laravel
There was a Bitnami Laravel project, so I decided to use that. It's great because you can deploy it just by running docker-compose up under your Laravel application.
- bitnami/laravel - Docker Hub
- I want to develop Laravel with Docker! Laradock? No, it's Bitnami! ~Laravel 3-minute cooking~ - Qiita
- I made the optimal DockerCompose for Laravel development - M2wasabi Resource
- It seems like some people are trying to do something similar on their own. That makes sense.
- https://m2wasabi.hatenablog.com/entry/2017/12/02/laravel-docker-adv
Other notes for the first steps:
- MariaDB CRUD in Laravel (Part 1) - Qiita
- Quickly creating a RESTful API with PHP Laravel 5.6 - YoheiM.NET
Discussion