Access Laravel Projects on a Local Network

Access Laravel Projects on a Local Network

Made for those tired of running php artisan serve locally. Examples with XAMPP and Laragon. Should work for other PHP frameworks too. Steps 1. Place your Laravel projects in your web server directory: # XAMPP C:\xampp\htdocs\project1 # Laragon C:\laragon\www\project1 2. Open httpd.conf and add: # XAMPP Listen 8001 <VirtualHost *:8001> DocumentRoot "C:/xampp/htdocs/project1/public" <Directory "C:/xampp/htdocs/project1/public"> AllowOverride All...

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.