can somebody please tell me how to upload laravel project on namecheap shared hosting. I am using php version 7.2 and laravel version 5.7.
If you mean how to deploy your project! Just Follow these steps :
Create a new folder: example myfiles.
Copy all your files to this folder.
Go to myfiles -> public
and copy these files to public_html (or your home folder - not myfiles).
Open index.php
and edit these lines : 24 & 38
Like this :
require __DIR__.'/myfiles/vendor/autoload.php';
$app = require_once __DIR__.'/myfiles/bootstrap/app.php';
If you get an ERROR HTTP 500 after deploying your project, just upgrade PHP version to 7.2 and everything will work inchallah! ;)