While hosting on the Laravel project on cPanel, the traditional problem that lots of developers get is, /public path is appended to the URL. Because in most cases, we put a project directly into the public_html folder, so public_html is our root for the website and that's where our laravel application is also placed. But to run the Laravel application, we need to point our domain root to the public folder of the laravel.
So to make it simple, what you can do is, there is a way we can do it via.htaccess file in our root folder. We can copy .htaccess file from our public folder and then make modifications to it to work with the direct root folder and route every request to the public folder.