{"id":14966308,"url":"https://github.com/yiisoft/yii2-docker","last_synced_at":"2025-05-15T12:00:14.238Z","repository":{"id":39633720,"uuid":"84311960","full_name":"yiisoft/yii2-docker","owner":"yiisoft","description":"Official Docker images suitable for Yii 2.0","archived":false,"fork":false,"pushed_at":"2025-02-11T12:31:20.000Z","size":215,"stargazers_count":392,"open_issues_count":7,"forks_count":202,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-27T17:40:22.219Z","etag":null,"topics":["docker-image","hacktoberfest","php","yii","yii2"],"latest_commit_sha":null,"homepage":"https://www.yiiframework.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["schmunk42"],"open_collective":"yiisoft"}},"created_at":"2017-03-08T11:14:09.000Z","updated_at":"2025-04-24T17:59:17.000Z","dependencies_parsed_at":"2023-12-13T03:33:16.335Z","dependency_job_id":"55d53e71-d72a-4adf-85d5-ecdfaef10186","html_url":"https://github.com/yiisoft/yii2-docker","commit_stats":{"total_commits":251,"total_committers":28,"mean_commits":8.964285714285714,"dds":0.2589641434262948,"last_synced_commit":"773ca8be340230738da8625f30db954dcdb42899"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252840262,"owners_count":21812274,"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":["docker-image","hacktoberfest","php","yii","yii2"],"created_at":"2024-09-24T13:36:11.909Z","updated_at":"2025-05-15T12:00:13.998Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://github.com/sponsors/schmunk42","https://opencollective.com/yiisoft"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003eYii2 PHP Docker Image\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n[![Build Status](https://github.com/yiisoft/yii2-docker/actions/workflows/docker-image.yml/badge.svg)](https://github.com/yiisoft/yii2-docker/actions/workflows/docker-image.yml)\n\nThis is the repo of the official [Yii 2.0 Framework](http://www.yiiframework.com/) image on [DockerHub](https://hub.docker.com/r/yiisoftware/yii2-php/) for PHP.\n\n## About\n\nThese Docker images are built on top of the official PHP Docker image, they contain additional PHP extensions required to run Yii 2.0 framework, but no code of the framework itself.\nThe `Dockerfile`(s) of this repository are designed to build from different PHP-versions by using *build arguments*.\n\n### Available versions for `yiisoftware/yii2-php`\n\nThe following images are built on a *weekly* basis for **arm64** and **amd64**. For regular commits on **master** we only build images for **amd64** suffixed with `-latest`/`-latest-min`.\n\nMinimal images\n\n```\n8.3-apache-min, 8.3-fpm-min, 8.3-fpm-nginx-min\n8.2-apache-min, 8.2-fpm-min, 8.2-fpm-nginx-min\n8.1-apache-min, 8.1-fpm-min, 8.1-fpm-nginx-min\n```\n\nDevelopment images\n\n```\n8.3-apache, 8.3-fpm, 8.3-fpm-nginx\n8.2-apache, 8.2-fpm, 8.2-fpm-nginx\n8.1-apache, 8.1-fpm, 8.1-fpm-nginx\n```\n\n#### Deprecated or EOL versions\n\n```\n8.0-*\n7.4-*\n7.3-*\n7.2-*\n7.1-*\n7.0-*\n5.6-*\n```\n\n## Setup\n\n    cp .env-dist .env\n\nAdjust the versions in `.env` if you want to build a specific version.\n\n\u003e **Note:** Please make sure to use a matching combination of `DOCKERFILE_FLAVOUR` and `PHP_BASE_IMAGE_VERSION`\n\n## Configuration\n\n- `GITHUB_API_TOKEN` access key for repositories on GitHub\n- `GITLAB_ACCESS_TOKEN` access key for repositories in GitLab\n- `PHP_ENABLE_XDEBUG` whether to load an enable Xdebug, defaults to `0` (false)  *not available in `-min` images*\n- `PHP_USER_ID` (Debian only) user ID, when running commands as webserver (`www-data`), see also [#15](https://github.com/yiisoft/yii2-docker/issues/15)\n\n## Building\n\n    docker-compose build\n\n## Testing\n\n    docker-compose run --rm php php /tests/requirements.php\n\n### Xdebug\n\nTo enable Xdebug, set `PHP_ENABLE_XDEBUG=1` in .env file\n\nXdebug is configured to call ip `xdebug.remote_host` on `9005` port (not use standard port to avoid conflicts),\nso you have to configure your IDE to receive connections from that ip.\n\n## Documentation\n\nMore information can be found in the [docs](/docs) folder.\n\n## FAQ\n\n- We do not officially support Alpine images, due to numerous issues with PHP requirements and because framework tests are not passing.\n- Depending on the (Debian) base-image (usually PHP \u003c7.4) you might need to set `X_LEGACY_GD_LIB=1`\n- test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-docker/lists"}