Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

davy_yg's avatar
Level 27

php artisan serve

Hello,

I would like to know about php artisan serve. If you run that and you debug the program once again and press refresh browser. Will the updated code also refreshed without having to re-run php artisan serve?

0 likes
3 replies
jlrdw's avatar
jlrdw
Best Answer
Level 75

@davy_yg I know a while back you had questions on php artisan serve .

However you said:

If you run that and you debug the program once again and press refresh browser. Will the updated code also refreshed without having to re-run php artisan serve?

Give it a try, change some code and do a browser refresh. However, I usually have to also clear browser cache then refresh.

But feel free to experiment with this stuff like we do. Go ahead and give it a try.

Just remember, it's best to setup a regular development environment and not use php artisan.

One I like better for Windows than xampp is bitnami: https://bitnami.com/stack/wamp/installer

1 like
Jaytee's avatar

@sinnbeck I use Laragon on Windows, and Valet on Mac. Can confirm, it's great.

2 likes

Please or to participate in this conversation.