{"id":19335244,"url":"https://github.com/wp-blocks/wpmm","last_synced_at":"2026-03-06T12:33:57.974Z","repository":{"id":209940536,"uuid":"724879300","full_name":"wp-blocks/wpmm","owner":"wp-blocks","description":"wpmm is a Node.js script designed to streamline the installation process of WordPress, themes, and plugins. ","archived":false,"fork":false,"pushed_at":"2024-06-02T20:48:09.000Z","size":822,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T15:39:36.796Z","etag":null,"topics":["package-manager","plugins-wordpress","theme-wordpress","wordpress"],"latest_commit_sha":null,"homepage":"https://wp-blocks.github.io/wpmm/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-blocks.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-29T01:18:08.000Z","updated_at":"2024-11-18T02:51:19.000Z","dependencies_parsed_at":"2023-12-12T19:43:03.470Z","dependency_job_id":"2c4ebe9f-2855-423f-9d14-3f9604d9d08f","html_url":"https://github.com/wp-blocks/wpmm","commit_stats":null,"previous_names":["erikyo/wpwm","erikyo/wpmm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wp-blocks/wpmm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-blocks%2Fwpmm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-blocks%2Fwpmm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-blocks%2Fwpmm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-blocks%2Fwpmm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-blocks","download_url":"https://codeload.github.com/wp-blocks/wpmm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-blocks%2Fwpmm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30176306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T11:48:51.886Z","status":"ssl_error","status_checked_at":"2026-03-06T11:48:51.460Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package-manager","plugins-wordpress","theme-wordpress","wordpress"],"created_at":"2024-11-10T03:06:36.787Z","updated_at":"2026-03-06T12:33:57.954Z","avatar_url":"https://github.com/wp-blocks.png","language":"TypeScript","readme":"# WordPress Magic Manager 🪄\n\u003cdiv\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wpmm\"\u003e\n    \u003cimg alt=\"version\" src=\"https://img.shields.io/npm/v/wpmm.svg?label=npm%20version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/erikyo/wpmm/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"version\" src=\"https://img.shields.io/npm/l/wpmm\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/erikyo/wpmm/actions\"\u003e\n    \u003cimg alt=\"build\" src=\"https://img.shields.io/github/actions/workflow/status/erikyo/wpmm/node.js.yml\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/erikyo/wpmm/actions\"\u003e\n    \u003cimg alt=\"workflows\" src=\"https://github.com/erikyo/wpmm/actions/workflows/node.js.yml/badge.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\nWordPress Installer is a Node.js script designed to streamline the installation process of WordPress, themes, and plugins. It simplifies the configuration through a wp-package.json file, allowing you to specify the WordPress version, language, themes, and plugins for installation.\n\n## Usage\n\n1. Create a `wp-package.json` file with your desired configuration. You can use the command `npx wpmm --init` to create an empty configuration file or `npx wpmm --dump` in the root directory of a wordpress website in order to get the configuration of that website.\n2. Run the script using `npx wpmm`.\n\n## Commands and Options\n### `npx wpmm`\nInstalls the WordPress version, themes, and plugins defined in wp-package.json\nWhenever the configuration file is not found, the command will install the last WordPress version.\n\n### `npx wpmm --version`\n### `npx wpmm --v`\noutput the current wpmm version\n\n### `npx wpmm --info`\nReturns the information for the Wordpress installation in the current folder\n\n### `npx wpmm --init`\nInitialize the project and create a sample wp-package.json file.\n\n### `npx wpmm --template https://gist.githubusercontent.com/erikyo/795746c96f422168121e47c2a876fb31/raw/1ec18a8bc10b6f80221b69944d9dad19c25613c1/wp-package.json`\nInitialize the project using a template wp-package.json file.\n\n### `npx wpmm --upload-db database/my.sql`\nUpload a database named my.sql into the wordpress database\n\n### `npx wpmm --dump-db`\nDownload the current wp database and save it into /backups/${databasename}.sql.gz\n\n### `npx wpmm --dump`\nScan and extract version information from PHP files within themes and plugins.\n\n## Configuration\n\nEdit the `wp-package.json` file to define the WordPress version, language, themes, and plugins to be installed.\n\n### Example Configuration\n\n```json\n{\n  \"name\": \"my-blog\",\n  \"wordpress\": {\n    \"version\": \"6.4.1\",\n    \"language\": \"en_US\",\n    \"config\": {\n      \"DB_NAME\": \"your_database_name\",\n      \"DB_USER\": \"your_database_user\",\n      \"DB_PASSWORD\": \"your_database_password\",\n      \"DB_HOST\": \"localhost\",\n      \"DB_CHARSET\": \"utf8\",\n      \"DB_COLLATE\": \"\",\n      \"table_prefix\": \"wp_\",\n      \"WP_DEBUG\": true,\n      \"WP_SITEURL\": \"http://example.com\",\n      \"WP_HOME\": \"http://example.com\",\n      \"WP_CONTENT_DIR\": \"/path/to/custom/content\",\n      \"WP_CONTENT_URL\": \"http://example.com/custom/content\",\n      \"DISALLOW_FILE_EDIT\": true\n    }\n  },\n  \"database\": {\n    \"type\": \"mysql\",\n    \"filename\": \"databases/database.sql\",\n    \"backup-folder\": \"backups\"\n  },\n  \"themes\": [\n    {\n      \"name\": \"modul-r\",\n      \"version\": \"1.4.4\",\n      \"source\": \"https://github.com/wp-blocks/modul-r.git\"\n    }\n  ],\n  \"plugins\": [\n    {\n      \"name\": \"contact-form-7\",\n      \"version\": \"5.8.4\"\n    },\n    {\n      \"name\": \"cf7-antispam\",\n      \"version\": \"0.4.5\",\n      \"source\": \"https://github.com/wp-blocks/cf7-antispam/archive/refs/heads/main.zip\"\n    }\n  ],\n  \"postInstall\": [\n    \"wp cache flush\",\n    \"wp plugin install $(wp plugin list --field=name) --force\"\n  ]\n}\n\n```\n\n## Features\n- WordPress Installation: Easily install a specific version of WordPress with configurable settings.\n- Theme Installation: Specify themes and their versions to be installed.\n- Plugin Installation: Install plugins directly from GitHub or other sources.\n- Version Detection: Automatically extract version information from PHP files within themes and plugins.\n\n## Contributions\nFeel free to contribute by opening issues, suggesting features, or submitting pull requests. Your feedback is valuable!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-blocks%2Fwpmm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-blocks%2Fwpmm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-blocks%2Fwpmm/lists"}