If you prefer using xampp to host your laravel over your network without using
"php artisan serve --host " command then this might what you're looking for.
in the xampp control panel we can see this port: 443, you can use this as a port in your virtual hosts

Add entry to your httpd-vhosts.conf
<VirtualHost *:443> DocumentRoot "C:/xampp/htdocs/yoursite_folder/public" ServerName yoursite.io <Directory "C:/xampp/htdocs/yoursite_folder/public"> AllowOverride All Require all granted </Directory> </VirtualHost>
edit your computer hosts file usually located in: C:\Windows\System32\drivers\etc add your vhost entry
127.0.0.1 yoursite.io
for other devices, make sure THEY use your IP address on their hosts file not the 127.0.0.1 ex. IP: 192.168.300.5 they need this to access your project with your ServerName.
192.168.300.5 yoursite.io
Restart apache server and open your browser, visit: http://yoursite.io:443 you can host as many projects as you want just put a unique ServerName on it so you won't have any conflicts. Just repeat the process if you have multiple virtualHost
Note: In Mobile devices you also need to edit the hosts file to be able to access your projects by domain like yoursite.io:443 or else, they can only access your project using your ip address: http://192.168.300.5:443