Put the project folder into C:\\xampp\\htdocs\\ (for Windows) or /Applications/XAMPP/htdocs/ (for macOS). Then open it using http://localhost:8080 after executing php spark serve.
Put the project folder into C:\\xampp\\htdocs\\ (for Windows) or /Applications/XAMPP/htdocs/ (for macOS). Then open it using http://localhost:8080 after executing php spark serve.