What Is PHP Composer?
Automatic Detection
Plesk automatically detects if a composer.json file exists in your website’s root.
You can install dependencies with a single click.
Run Composer Commands from UI
Install (install all required dependencies)
Update (update all or selected packages)
Remove (uninstall dependencies)
Validate (check composer.json for errors)
Automatic Installation
If Composer is not yet installed on your Plesk server, Plesk can install it automatically.
Environment Management
You can run Composer in different PHP versions configured under your subscription.
Command-Line Access (Optional)
Advanced users can still use SSH to run Composer commands manually.
Let’s say your website runs Laravel, Symfony, or WordPress with custom plugins.
When you upload or create a composer.json file that defines all needed libraries, you can use PHP Composer in Plesk to install those dependencies — no terminal needed.
Example:
{
"require": {
"monolog/monolog": "^3.0",
"guzzlehttp/guzzle": "^7.0"
}
}
Plesk will install both monolog and guzzle packages into your project directory automatically.
composer.json file exists).
◦ Use the available buttons to: