Àpèjúwe
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”: “*”
}
}
Ìgbéwọlẹ̀
- Download the plugin files from WordPress.org or your preferred source.
- Upload the
system-infofolder to the/wp-content/plugins/directory on your WordPress server. - Activate the plugin through the ‘Plugins’ menu in your WordPress admin dashboard.
FAQ
-
What does this plugin do?
-
The plugin scans your current WordPress setup for active plugins and the active theme, then generates
composer.jsoninformation containing the necessary requirements 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 plugin write any files to the server?
-
No, the plugin 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 plugin?
-
No, you don’t need to have Composer installed to use this plugin. It simply generates the
composer.jsonfile content. Composer itself will need to be installed separately if you intend to manage dependencies with it.
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“System Info” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “System Info” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.