$server php in local host code example
Example 1: how to open server in php
php -S localhost:8000 // Run Php server
Example 2: how to host a php server
php artisan serve --host your-ip-add --port 8000
// Example with port
php artisan serve --host 192.168.1.001 --port 8000