Composer in ISPmanager
Composer installs PHP libraries listed in composer.json. Packages go to the site vendor folder.
Enable Composer
- "Sites" → three dots on the site → "Edit".
- Expand the PHP handler block.
- Tick "Use PHP Composer".
- Click "Save".

The site menu gets items for configuration files, PHP-composer packages and PHP Composer install.

composer.json
- Site menu → configuration files.
- Add the dependencies. Example:
{
"require": {
"monolog/monolog": "^3.9"
}
}- Save. The panel only checks JSON syntax.

Install packages
- Site menu → "PHP Composer install".
- Confirm with "Install".

Installed packages: site menu → "View PHP-composer packages".

Load the autoloader in your code:
<?php
require __DIR__ . '/vendor/autoload.php';
Composer in the Shell client
Run composer require, composer update and other commands in the Shell client from the site menu. It opens in the site folder: Shell client.
composer require guzzlehttp/guzzle
composer update