{"id":33999411,"url":"https://github.com/dhurlburtusa/wpx-scripts","last_synced_at":"2026-03-27T04:32:22.105Z","repository":{"id":57082481,"uuid":"223845851","full_name":"dhurlburtusa/wpx-scripts","owner":"dhurlburtusa","description":"WordPress scripts.","archived":false,"fork":false,"pushed_at":"2019-12-01T04:25:32.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T06:13:11.230Z","etag":null,"topics":["scripts","wordpress"],"latest_commit_sha":null,"homepage":"","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/dhurlburtusa.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}},"created_at":"2019-11-25T02:26:31.000Z","updated_at":"2019-12-03T18:41:05.000Z","dependencies_parsed_at":"2022-08-24T14:56:36.347Z","dependency_job_id":null,"html_url":"https://github.com/dhurlburtusa/wpx-scripts","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dhurlburtusa/wpx-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhurlburtusa%2Fwpx-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhurlburtusa%2Fwpx-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhurlburtusa%2Fwpx-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhurlburtusa%2Fwpx-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhurlburtusa","download_url":"https://codeload.github.com/dhurlburtusa/wpx-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhurlburtusa%2Fwpx-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31019531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"last_error":"SSL_read: 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":["scripts","wordpress"],"created_at":"2025-12-13T09:02:14.280Z","updated_at":"2026-03-27T04:32:22.092Z","avatar_url":"https://github.com/dhurlburtusa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPX Scripts\r\n\r\nA set of scripts to help make using/managing a WordPress instance easier.\r\n\r\n\r\n## Warning\r\n\r\nWPX Scripts is in alpha version. Breaking changes are possible and likely.\r\n\r\nMore thorough documentation will begin in the alpha version when the shape of this project is closer to being finalized. Please stay tuned as more improvements are made. Make a PR if you want to contribute.\r\n\r\n\r\n## Installation\r\n\r\nThis package is installed like any other Composer package.\r\n\r\n```sh\r\ncomposer require --dev wpx/scripts\r\n```\r\n\r\n\r\n## Usage\r\n\r\n**Composer Callbacks**\r\n\r\nComposer fires various named events during its execution process. Callbacks to these events can be set up in the root `composer.json` file. This is done by using specific script names under the `\"scripts\"` key.\r\n\r\nSee https://getcomposer.org/doc/articles/scripts.md for details.\r\n\r\nThe following snippet demonstrates how to add a `post-install-cmd` and a `post-update-cmd` callback using the single-string method and the array method. Because `composer.json` is in the JSON format, backslashes must be escaped.\r\n\r\n```\r\n{\r\n\t\"extra\": {\r\n\t\t\"wordpress-install-dir\": \"wp\",\r\n\t\t\"wpx-skeleton-dir\": \"skel\",\r\n\t\t\"wpx-skeleton-destination-dir\": null,\r\n\t},\r\n\t\"scripts\": {\r\n\t\t\"post-install-cmd\": \"Wpx\\\\Scripts\\\\v0\\\\ComposerCallbacks::onPostInstall\",\r\n\t\t\"post-update-cmd\": [\r\n\t\t\t\"Wpx\\\\Scripts\\\\v0\\\\ComposerCallbacks::onPostUpdate\"\r\n\t\t]\r\n  }\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhurlburtusa%2Fwpx-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhurlburtusa%2Fwpx-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhurlburtusa%2Fwpx-scripts/lists"}