Apache is a webserver while artisan is a cli tool. Maybe you mean the artisan serve command? That is in basic the PHP build-in web server. That isn't meant to be a public available web server. See: https://www.php.net/manual/en/features.commandline.webserver.php In theory it should be possible but it isn't stable enough and can also lead to security issues.
Using apache like you are used to or another web server (like nginx) is the preferable approach.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community