HOSTINGER SHARED HOSTING UPLOAD STEPS (hPanel)

1) Upload folders
- Upload the entire 'laravel' folder to your hosting HOME folder (NOT inside public_html):
  /home/<username>/laravel

- Upload EVERYTHING inside this package's 'public_html' into:
  /home/<username>/public_html
  (replace existing files if this domain is empty)

2) Permissions (File Manager)
- /laravel/storage -> 775 (recursive)
- /laravel/bootstrap/cache -> 775 (recursive)

3) Database
hPanel > Databases > MySQL Databases:
- Create database + user
- Assign user to database (ALL PRIVILEGES)

4) .env
- Edit /laravel/.env using ENV_TO_EDIT_ON_HOSTINGER.txt
- Ensure APP_URL is correct, APP_DEBUG=false

5) If SSH is available (optional but recommended)
cd ~/laravel
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan migrate --force   (ONLY if your app uses migrations)

6) Test
Visit: https://YOURDOMAIN.COM
If 500 error:
- Check /laravel/storage/logs/laravel.log
- Confirm PHP version is compatible (Laravel 10/11 usually needs PHP 8.1+)
