After installing Laravel, you should configure your web server's document / web root to be the public directory.
The index.php in this directory serves as the front controller for all HTTP requests entering your application.
Thanks for the answer but I'm using lumen and I want to serve this app to multiple people so I don't want to ask them to do some web config file changes. I just want to let .htaccess file to handle this but sure how. would be good for some example.