Admin UI
The Dependency Management card lets you browse Packagist and install PHP packages directly from your WordPress admin, without SSH access.
Where packages are stored
Section titled “Where packages are stored”Loopress Full maintains its own composer.json under wp-content/loopress/. Installed packages land in wp-content/loopress/vendor/. This location is separate from the plugin itself so packages survive plugin updates and can be used anywhere on the site via the Composer autoloader.
wp-content/ loopress/ composer.json ← managed by Loopress Full vendor/ autoload.php ← require this in your snippets guzzlehttp/guzzle/ ...Installing a package
Section titled “Installing a package”- Type the package name or a keyword in the Search a Composer package field (minimum 2 characters)
- Select the package from the dropdown
- Choose a version (compatible versions are pre-selected automatically based on your PHP version)
- Click Install
Version compatibility indicators:
| Icon | Meaning |
|---|---|
| 🟢 | Compatible with your PHP version |
| 🔴 | Requires a different PHP version |
| ❓ | No PHP constraint declared |
Removing a package
Section titled “Removing a package”In the Installed Packages card, click Remove next to the package you want to uninstall.
Updating a package
Section titled “Updating a package”The Installed Packages card checks each installed package against Packagist. If a newer version is available, an “update: x.y.z” badge appears next to the current version, and an Update button runs composer require to install the latest version in place.
Repair
Section titled “Repair”The Repair action runs composer update against wp-content/loopress/composer.json. Use it when:
- The autoloader is missing after a server migration
- The lockfile has drifted from
composer.json - A previous install left the dependencies in an inconsistent state
The autoload error banner at the top of the page appears automatically when Loopress Full detects a missing or broken autoloader and prompts you to run Repair.
REST API
Section titled “REST API”Outdated packages are exposed at GET /wp-json/loopress/v1/composer/outdated:
[ { "name": "some/package", "version": "1.2.0", "latest": "1.4.2" }]- Composer is executed in-process (via the
composer/composerlibrary). Long-running installs extend the PHP execution time limit to 5 minutes automatically. - Only stable versions are shown in the version picker (no
dev-*releases).