I now understand why Laravel files fail on Windows...
The issue is the file format; they are not consistently formatted between Windows and Linux, which causes errors on Windows. I tested it with Laravel's Herb, and everything worked fine.
It's best to install everything on Linux, in Docker containers, or with Herb. herb page