{"id":25492538,"url":"https://github.com/slavcodev/docker-php","last_synced_at":"2026-01-26T04:32:50.110Z","repository":{"id":260636675,"uuid":"442833318","full_name":"slavcodev/docker-php","owner":"slavcodev","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-11T16:10:17.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T01:09:05.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":false,"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/slavcodev.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-29T16:46:14.000Z","updated_at":"2025-07-11T15:20:25.000Z","dependencies_parsed_at":"2025-05-19T03:10:56.535Z","dependency_job_id":"9bb1e449-b363-4726-bf46-fc77d3214d79","html_url":"https://github.com/slavcodev/docker-php","commit_stats":null,"previous_names":["slavcodev/docker-php"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/slavcodev/docker-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slavcodev%2Fdocker-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slavcodev%2Fdocker-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slavcodev%2Fdocker-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slavcodev%2Fdocker-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slavcodev","download_url":"https://codeload.github.com/slavcodev/docker-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slavcodev%2Fdocker-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28766886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2025-02-18T22:30:48.202Z","updated_at":"2026-01-26T04:32:50.094Z","avatar_url":"https://github.com/slavcodev.png","language":"Dockerfile","readme":"# PHP Docker image\n\n[![GitHub Actions status][ico-github-actions]][link-github]\n[![Latest Release][ico-version]][link-github]\n[![Software License][ico-license]][link-license]\n\n[ico-version]: https://img.shields.io/github/tag/slavcodev/docker-php.svg?label=latest\n[ico-github-actions]: https://github.com/slavcodev/docker-php/workflows/publish/badge.svg\n[ico-license]: https://img.shields.io/badge/License-MIT-blue.svg\n\n[link-github]: https://github.com/slavcodev/docker-php\n[link-license]: LICENSE\n[link-github-package]: https://github.com/slavcodev/docker-php/pkgs/container/docker-php\n\nPHP is a server-side scripting language designed for web development,\nbut which can also be used as a general-purpose programming language.\nPHP can be added to straight HTML or it can be used with a variety of templating engines and web frameworks.\nPHP code is usually processed by an interpreter, which is either implemented as a native module on the web-server\nor as a common gateway interface (CGI).\n\n## Installation\n\nPull the image from the [Container registry][link-github-package].\nThis is the recommended method of installation as it is easier to update image.\n\n```bash\ndocker pull ghcr.io/slavcodev/docker-php:latest\n```\n\nBuild the image locally\n\n```bash\ngit clone git@github.com:slavcodev/docker-php.git \ncd docker-php\ndocker build . --file Dockerfile \\\n  --tag ghcr.io/slavcodev/docker-php \\\n  --build-arg PHP_VERSION=8.3-fpm\n```\n\n## Quick start\n\nUsing `docker-compose.yml`\n\n```yaml\nservices:\n  php:\n    image: ghcr.io/slavcodev/docker-php:latest\n    user: ${USER_ID}:${GROUP_ID}\n    working_dir: /var/www/html\n    volumes:\n        - ${APP_COMPOSER_CACHE}:/home/.composer/cache\n        - ${APP_SRC}:/var/www/html\n    extra_hosts:\n        - \"host.docker.internal:host-gateway\"\n```\n\nAlternately, you can manually launch the container.\n\n```bash\ndocker run --name='php' \\\n    ghcr.io/slavcodev/docker-php:latest\n```\n\n# Publish changes\n\nThe image is hosted on [Container registry][link-github-package].\n\nRead the [Working with the Container registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) \nto learn how to publish new version of image.\n\nThere is an example:\n\n```bash\necho $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin\ndocker push -a ghcr.io/slavcodev/docker-php\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslavcodev%2Fdocker-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslavcodev%2Fdocker-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslavcodev%2Fdocker-php/lists"}