composer.json file, Laravel cannot run or install dependencies without it.Before running any Composer or Laravel command:
Confirm that composer.json exists in the project root
Laravel uses this file to know:
Which packages to install
Which Laravel version to run
How the application should boot
Without composer.json, Laravel will not work
Plesk → Websites & Domains → Laravel
If not listed → Scan existing application
Run Composer only if composer.json exists:
Do not run migrations unless you know what they do.
In Plesk:
Never change the project structure.
vendor or composer.lock?Only if dependencies are broken and composer.json is present:
This does NOT delete:
.env
Database
Uploaded files
composer.json must exist first
Never delete .env
Use composer install --no-scripts
Avoid blind migrations
Use PHP 8.1
Document root must be public