{"id":20144739,"url":"https://github.com/widuu/php_docker_dev","last_synced_at":"2026-03-07T13:30:49.843Z","repository":{"id":200896930,"uuid":"706454814","full_name":"widuu/php_docker_dev","owner":"widuu","description":"个人使用的PHP开发环境","archived":false,"fork":false,"pushed_at":"2023-10-25T10:21:48.000Z","size":12035,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T00:11:21.305Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widuu.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}},"created_at":"2023-10-18T01:44:47.000Z","updated_at":"2023-10-18T03:48:45.000Z","dependencies_parsed_at":"2023-10-20T09:09:12.528Z","dependency_job_id":"5977b313-3be9-4660-8608-c134907ab750","html_url":"https://github.com/widuu/php_docker_dev","commit_stats":null,"previous_names":["widuu/php_docker_dev"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/widuu/php_docker_dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Fphp_docker_dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Fphp_docker_dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Fphp_docker_dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Fphp_docker_dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widuu","download_url":"https://codeload.github.com/widuu/php_docker_dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2Fphp_docker_dev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30215548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T13:25:55.541Z","status":"ssl_error","status_checked_at":"2026-03-07T13:25:38.596Z","response_time":53,"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":[],"created_at":"2024-11-13T22:11:57.652Z","updated_at":"2026-03-07T13:30:49.824Z","avatar_url":"https://github.com/widuu.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php_docker_dev\n\u003e 纯个人使用的PHP开发环境，可以自己根据个人需求再重新定制\n\n```shell\ndocker compose -p dev up -d\n```\n\n\u003e 如果使用 mongo nsql 或者 elastic 等等\n\n```shell\ndocker compose --profile mongo --profile nsql --profile elastic -p dev up -d\n```\n\n\u003e 配置文件是 `.env`\n\n\u003e 由于 `WORKDIR` 是 `/var/www/` 假如我们的开发目录是 `dev` 则工作目录对应的容器目录就是 `/var/www/dev`\n\u003e 所以我们使用 `composer` / `php` / `protoc` 等命令时可以指定工作空间如下\n\n```shell\ndocker exec -it -w /var/www/dev php82 composer install # 来执行 composer install\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Fphp_docker_dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiduu%2Fphp_docker_dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Fphp_docker_dev/lists"}