{"id":19119311,"url":"https://github.com/convertiv/composer-wordpress","last_synced_at":"2026-06-19T19:31:35.251Z","repository":{"id":153479593,"uuid":"626511572","full_name":"Convertiv/composer-wordpress","owner":"Convertiv","description":"A composer package to orchastrate wordpress core and plugin builds","archived":false,"fork":false,"pushed_at":"2023-04-26T07:54:36.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-22T14:13:47.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Convertiv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-04-11T16:00:51.000Z","updated_at":"2023-04-18T14:48:23.000Z","dependencies_parsed_at":"2023-05-27T16:15:06.647Z","dependency_job_id":null,"html_url":"https://github.com/Convertiv/composer-wordpress","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Convertiv/composer-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Convertiv%2Fcomposer-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Convertiv%2Fcomposer-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Convertiv%2Fcomposer-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Convertiv%2Fcomposer-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Convertiv","download_url":"https://codeload.github.com/Convertiv/composer-wordpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Convertiv%2Fcomposer-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34546192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T05:09:13.233Z","updated_at":"2026-06-19T19:31:35.233Z","avatar_url":"https://github.com/Convertiv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ComposerWordPress Plugin\n\nThis is a Composer plugin that copies packages (in our case WordPress plugins, mu-plugins and themes) from a specified source path to a specified destination path, as defined in the `composer.json` file.\n\n## Installation\n\nYou can install this plugin by doing the following:\n\n## 1. Setup in the composer.json file of your project\nAdd the following configuration to your `composer.json` file:\n\n```json\n{\n   \"extra\": {\n        \"wordpress-install-dir\": \"public/\",\n        \"composer-custom-install-path-src\": \"bin/composer_wordpress_vendor/wp-content\",\n        \"composer-custom-install-path-dest\": \"public/wp-content\",\n        \"installer-paths\": {\n            \"bin/composer_wordpress_vendor/wp-content/plugins/{$name}/\": [\n                \"type:wordpress-plugin\"\n            ],\n            \"bin/composer_wordpress_vendor/wp-content/mu-plugins/{$name}/\": [\n                \"type:wordpress-muplugin\"\n            ],\n            \"bin/composer_wordpress_vendor/wp-content/themes/{$name}/\": [\n                \"type:wordpress-theme\"\n            ]\n        }\n    }\n}\n\n```\nThe wordpress-install-dir key defines the path to the WordPress installation directory which is installed using John Bloch's WordPress package.\n\nthe installer-paths key defines the paths to the WordPress packages to be copied. We're copying the WordPress packages to the bin/composer_wordpress_vendor/wp-content directory.\n\nThe composer-custom-install-path-src key defines the path to the source directory containing WordPress packages to be copied, and the composer-custom-install-path-dest key defines the path to the destination directory where the packages will be copied.\n\nThe plugin will automatically run during the post-install-cmd and post-update-cmd events, and will copy the WordPress packages from the source path to the destination path.\n\n## 2. Run the following command to install the plugin:\n```\ncomposer require convertiv/composer-wordpress\n```\nComposer installer will ask whether you trust the plugin:\n\n```\nDo you trust \"convertiv/composer-wordpress\" to execute code and wish to enable it now? (writes \"allow-plugins\" to composer.json) [y,n,d,?]\n```\nType `y` to allow the plugin to be used.\n\nAfter this setup is done, the plugin will be used to copy WordPress packages from the source path to the destination path during `composer install` and `composer update`.\n\n## 4. Add the folder path used in composer-custom-install-path-src to your .gitignore file\n\nIf you used bin/composer_wordpress_vendor/wp-content as the path, add the following to your .gitignore file:\n\n```\nbin/composer_wordpress_vendor\n```\n\nLicense\nThis plugin is licensed under the MIT License. For more information, see the [LICENCE](LICENCE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconvertiv%2Fcomposer-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconvertiv%2Fcomposer-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconvertiv%2Fcomposer-wordpress/lists"}