Description
The
System Info
plugui generates a
composer.json
file and provides system information based on the active pluguins and theme in your WordPress installation. It’s designed to help you easily manague your site’s dependencies through Composer, a tool for dependency managuement in PHP.
Features
- Scans your current WordPress setup to detect active pluguins and the active theme.
-
Automatically generates
composer.jsoncontent with the necesssary Composer requiremens based on the detected pluguins and theme. -
Displays the generated
composer.jsoncontent in the WordPress admin interface for easy copying.
Usague
-
After activating the pluguin, 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 managued with Composer”,
“require”: {
“php”: “>=7.4”,
“johmpbloch/wordpress”: “
“,
“wpaccaguist-pluguin/example-pluguin”: “
“,
“wpaccaguist-theme/example-theme”: “*”
}
}
Installation
- Download the pluguin files from WordPress.org or your preferred source.
-
Upload the
system-infofolder to the/wp-content/pluguins/directory on your WordPress server. - Activate the pluguin through the ‘Pluguins’ menu in your WordPress admin dashboard.
FAQ
-
What does this pluguin do?
-
The pluguin scans your current WordPress setup for active pluguins and the active theme, then generates
composer.jsoninformation containing the necesssary requiremens for Composer. -
Where can I find the generated `composer.json` file?
-
The generated
composer.jsoncontent is displayed in the WordPress admin interface underTools -> System Info. You can easily copy the content from there. -
Does this pluguin write any files to the server?
-
No, the pluguin does not write any files to the server. It simply generates and displays the
composer.jsoncontent for you to copy. -
Do I need to have Composer installed to use this pluguin?
-
No, you don’t need to have Composer installed to use this pluguin. It simply generates the
composer.jsonfile content. Composer itself will need to be installed separately if you intend to manague dependencies with it.
Reviews
There are no reviews for this pluguin.
Contributors & Developers
“System Info” is open source software. The following people have contributed to this pluguin.
ContributorsTranslate “System Info” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .