Test your Laravel project easily with Phone. 📲

ljnce

Luca

Posted on July 24, 2020

Test your Laravel project easily with Phone. 📲

Hi guys, this is a small tutorial for test your local developing Laravel Web Application with your Phone easily.

1) Wi-Fi Hotspot Phone: 📶

  • Open setting on your mobile phone -> activate Wi-Fi Personal Hotspot.
  • Connect your PC to the Wi-Fi network of your Mobile Hotspot.

2) Check your IP adress by terminal: 👨‍💻

  • Windows: ipconfig
  • MacBook: ifconfig

Copy the address situated here:

Alt Text

3) Last step: 🖥

  • Go to your Laravel application project -> open terminal -> run the following command to turn on the built in server.

sudo php artisan serve --host 192.168.43.181 --port 80

  • Insert your Password and well done, you have id for test your Laravel project on you mobile phone browser!

Alt Text

4)Enjoy! 🤳

Alt Text

💖 💪 🙅 🚩
ljnce
Luca

Posted on July 24, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related