{"id":408600,"date":"2024-09-23T08:00:00","date_gmt":"2024-09-23T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/system-info\/"},"modified":"2024-11-08T20:58:00","modified_gmt":"2024-11-08T20:58:00","slug":"system-info","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/system-info\/","title":{"rendered":"System Info"},"content":{"rendered":"<p>The <strong>System Info<\/strong> plugin generates a <code>composer.json<\/code> file and provides system information based on the active plugins and theme in your WordPress installation. It\u2019s designed to help you easily manage your site\u2019s dependencies through Composer, a tool for dependency management in PHP.<\/p>\n<h3>Features<\/h3>\n<ul>\n<li>Scans your current WordPress setup to detect active plugins and the active theme.<\/li>\n<li>Automatically generates <code>composer.json<\/code> content with the necessary Composer requirements based on the detected plugins and theme.<\/li>\n<li>Displays the generated <code>composer.json<\/code> content in the WordPress admin interface for easy copying.<\/li>\n<\/ul>\n<h3>Usage<\/h3>\n<ol>\n<li>After activating the plugin, navigate to <code>Tools -> System Info<\/code> in the WordPress admin interface.<\/li>\n<li>Review the automatically generated <code>composer.json<\/code> content.<\/li>\n<li>Copy the displayed content and use it in your Composer setup as needed.<\/li>\n<\/ol>\n<h3>Example Output<\/h3>\n<p>{<br \/>\n    \u201cname\u201d: \u201cyourname\/wordpress-site\u201d,<br \/>\n    \u201cdescription\u201d: \u201cA WordPress site managed with Composer\u201d,<br \/>\n    \u201crequire\u201d: {<br \/>\n        \u201cphp\u201d: \u201c>=7.4\u201d,<br \/>\n        \u201cjohnpbloch\/wordpress\u201d: \u201c<em>\u201c,<br \/>\n        \u201cwpackagist-plugin\/example-plugin\u201d: \u201c<\/em>\u201c,<br \/>\n        \u201cwpackagist-theme\/example-theme\u201d: \u201c*\u201d<br \/>\n    }<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The System Info plugin generates a composer.json file and provides system information based on the active plugins and theme in your WordPress installa \u2026<\/p>\n","protected":false},"author":65,"featured_media":354074,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"System Info - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"The System Info plugin generates a composer.json file and provides system information based on the active plugins and theme in your WordPress installa \u2026"},"footnotes":""},"categories":[1],"tags":[3045,8526,1903],"class_list":["post-408600","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-info","tag-system","tag-tools"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/408600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=408600"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/408600\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/354074"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=408600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=408600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=408600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}