DEV Community

Jonathan Zarate
Jonathan Zarate

Posted on

6 3

Laragon for Laravel development on windows

Laragon for Laravel development

Hey, guys.

At this moment I want to share with you, how to work Laravel Framework in Windows.

Mexico city, March 22, 2020. When the COVID-19 pandemic started in Mexico City. I had to emigrate from the city and buy a computer with windows 10.

lol At this point I thought: how do I develop my laravel applications on windows?

So, I met Laragon, a tool is amazing.
Initially I had a lot of trouble running the PHPUnit tests. 🥺

Then I managed to run the tests:



.\vendor\bin\phpunit

Enter fullscreen mode Exit fullscreen mode




Laragon benefits

Multiple php versions:
An important benefit is the change of PHP versions between 7.1 to 7.4, this is a headache when working with laravel valet on Mac OS.

Alt Text

Multiple database:
We can switch between mysql or mariadb. This depends on your projects.

Disadvantages

When we work with Windows, there are possibly problems with the directory path.

In my experience I had problems with the jest tests. because the node_modules directory cannot be found.

Anyway, Laragon is very elegant for laravel development.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay