{"id":20940053,"url":"https://github.com/justcoded/wordpress-composer-scripts","last_synced_at":"2025-05-13T22:32:12.662Z","repository":{"id":57003203,"uuid":"110255262","full_name":"justcoded/wordpress-composer-scripts","owner":"justcoded","description":"Custom Composer scripts for WordPress Project Template.","archived":false,"fork":false,"pushed_at":"2018-11-12T17:10:50.000Z","size":37,"stargazers_count":1,"open_issues_count":4,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T10:52:35.202Z","etag":null,"topics":["composer","installer","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justcoded.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}},"created_at":"2017-11-10T14:22:10.000Z","updated_at":"2018-11-13T11:28:34.000Z","dependencies_parsed_at":"2022-08-21T14:10:54.760Z","dependency_job_id":null,"html_url":"https://github.com/justcoded/wordpress-composer-scripts","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-composer-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-composer-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-composer-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwordpress-composer-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justcoded","download_url":"https://codeload.github.com/justcoded/wordpress-composer-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036820,"owners_count":22003658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["composer","installer","wordpress"],"created_at":"2024-11-18T23:08:43.244Z","updated_at":"2025-05-13T22:32:10.597Z","avatar_url":"https://github.com/justcoded.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://wordpress.org\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://s.w.org/about/images/logos/wordpress-logo-notext-rgb.png\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://getcomposer.org/\" target=\"_blank\"\u003e\n            \u003cimg src=\"https://getcomposer.org/img/logo-composer-transparent.png\" height=\"100px\"\u003e\n        \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eComposer scripts for WordPress Installation\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nCustom [Composer](https://getcomposer.org/) scripts for [WordPress Project Template](https://github.com/justcoded/wordpress-starter).\n\n## Installation\n\nThe only way to install this extension is through composer.\n\nEither run\n\n    php composer.phar require --prefer-dist justcoded/wordpress-composer-scripts \"*\"\n    \nor add to require section:\n\n    \"justcoded/wordpress-composer-scripts\": \"*\"\n\n\nAfter that add to scripts section:\n\n      \"scripts\": {\n        \"wp:postInstall\": \"JustCoded\\\\WP\\\\Composer\\\\Environment::post_install\",\n        \"wp:deployReadme\": \"JustCoded\\\\WP\\\\Composer\\\\Environment::deployment_readme\",\n        \"wp:dbPrefix\": \"JustCoded\\\\WP\\\\Composer\\\\Environment::wpdb_prefix\",\n        \"wp:salts\": \"JustCoded\\\\WP\\\\Composer\\\\Environment::salts\",\n        \"wp:secure\": \"JustCoded\\\\WP\\\\Composer\\\\Security::admin_http_auth\",\n        \"wp:theme\": \"JustCoded\\\\WP\\\\Composer\\\\Boilerplates::theme\"\n      }\n\n## Available scripts\n\n### wp:postInstall\n\nCopies .env.example and .htaccess.example to .env and .htaccess.\n\nThis script should be added to post-install and post-update hooks, so once you download the \nproject - you will have configuration files in place. Just replace them with real values.\n\n### wp:deployReadme\n\nThis script is used inside create-project command hook. This script clean up default Project Template readme\nwith documenation of real project deployment.\n\n### wp:dbPrefix\n\nCreate unique db prefix (to improve security) and replace it inside .env.example and .env files.\n\nBy default this script should be added to create-project command hooks.\n\n### wp:salts\n\nRegenerate WordPress salts inside .env.example and .env files.\n\nUseful if you want to disable all old open sessions / cookies.\n\n### wp:secure\n\nAllows to create wp-admin folder HTTP Auth password protection.\n\n_*Run this command without params to get command help_\n\n#### wp:theme\n\nCreates a theme based on [JustCoded Theme Boilerplate](https://github.com/justcoded/wordpress-theme-boilerplate).\n\n_*Run this command without params to get command help_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fwordpress-composer-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustcoded%2Fwordpress-composer-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fwordpress-composer-scripts/lists"}