{"id":22746304,"url":"https://github.com/yukihiko-shinoda/docker-compose-init-phpunit-wordpress-plugin","last_synced_at":"2026-04-13T01:32:05.598Z","repository":{"id":97360358,"uuid":"228640482","full_name":"yukihiko-shinoda/docker-compose-init-phpunit-wordpress-plugin","owner":"yukihiko-shinoda","description":"Docker Compose for init WordPress plugin to start TDD.","archived":false,"fork":false,"pushed_at":"2020-06-18T05:03:33.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T23:40:44.511Z","etag":null,"topics":["docker","docker-compose","phpunit","wordpress-plugin","wp-cli","wp-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/yukihiko-shinoda.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":"2019-12-17T14:59:56.000Z","updated_at":"2020-06-18T05:03:35.000Z","dependencies_parsed_at":"2024-02-23T22:16:15.315Z","dependency_job_id":null,"html_url":"https://github.com/yukihiko-shinoda/docker-compose-init-phpunit-wordpress-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yukihiko-shinoda/docker-compose-init-phpunit-wordpress-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukihiko-shinoda","download_url":"https://codeload.github.com/yukihiko-shinoda/docker-compose-init-phpunit-wordpress-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","docker-compose","phpunit","wordpress-plugin","wp-cli","wp-plugin"],"created_at":"2024-12-11T02:12:49.462Z","updated_at":"2026-04-13T01:32:05.549Z","avatar_url":"https://github.com/yukihiko-shinoda.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose init PHPUnit WordPress plugin\n\nThis project supplies environment to init WordPress plugin to start TDD.\n\n[Plugin Unit Tests – WP-CLI — WordPress.org](https://make.wordpress.org/cli/handbook/plugin-unit-tests/#running-tests-on-travis-ci)\n\nYou can skip much steps to prepare environment to run WP-CLI.\nAnd you will be able to get files for test with [few steps](#Quickstart).\n\n## Requirement\n\n- Docker\n- Docker Compose\n\n## Quickstart\n\n#### 1. Clone or download\n\n#### 2. Put test target plugin directory into \"plugins\" directory\n\n#### 3. Enter directory and Docker Compose up (detach)\n\n```shell script\ncd docker-compose-init-phpunit-wordpress-plugin\ndocker-compose up -d\n```\n\n#### 4. Enter into wordpress container\n\n```shell script\ndocker exec -it wordpress /bin/bash\n```\n\n#### 5. Init WordPress temporary\n\n```shell script\nwp --allow-root core install --url=localhost --title=temporary --admin_user=admin --admin_email=admin@localhost.com\n```\n\n#### 6. Generate files for test\n\n```shell script\nwp --allow-root scaffold plugin-tests (plugin directory name)\n```\n\nThen, you'll get files for test.\n\n## References\n\n- [Plugin Unit Tests – WP-CLI — WordPress.org](https://make.wordpress.org/cli/handbook/plugin-unit-tests/)\n- [wordpress - Docker Hub](https://hub.docker.com/_/wordpress)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukihiko-shinoda%2Fdocker-compose-init-phpunit-wordpress-plugin/lists"}