The System Info plugin generates a composer.json file and provides system information based on the active plugins and theme in your WordPress installa …
| Author: | uri (profile at wordpress.org) |
| WordPress version required: | 5.3.0 |
| WordPress version tested: | 6.6.5 |
| Plugin version: | 0.1.12 |
| Added to WordPress repository: | 23-09-2024 |
| Last updated: | 08-11-2024 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://github.com/devuri/system-info |
| Total downloads: | 1 191 |
| Active installs: | 10+ |
![]() Click to start download |
|
The System Info plugin generates a composer.json file and provides system information based on the active plugins and theme in your WordPress installation. It’s designed to help you easily manage your site’s dependencies through Composer, a tool for dependency management in PHP.
Features
- Scans your current WordPress setup to detect active plugins and the active theme.
- Automatically generates
composer.jsoncontent with the necessary Composer requirements based on the detected plugins and theme. - Displays the generated
composer.jsoncontent in the WordPress admin interface for easy copying.
Usage
- After activating the plugin, navigate to
Tools -> System Infoin the WordPress admin interface. - Review the automatically generated
composer.jsoncontent. - Copy the displayed content and use it in your Composer setup as needed.
Example Output
{
“name”: “yourname/wordpress-site”,
“description”: “A WordPress site managed with Composer”,
“require”: {
“php”: “>=7.4”,
“johnpbloch/wordpress”: ““,
“wpackagist-plugin/example-plugin”: ““,
“wpackagist-theme/example-theme”: “*”
}
}
FAQ
