{"id":13563170,"url":"https://github.com/chialab/docker-php","last_synced_at":"2025-05-15T16:01:56.086Z","repository":{"id":5221763,"uuid":"44189654","full_name":"chialab/docker-php","owner":"chialab","description":"🧰 Adding common PHP extensions to some of the official PHP Docker images.","archived":false,"fork":false,"pushed_at":"2025-02-21T09:22:28.000Z","size":324,"stargazers_count":442,"open_issues_count":3,"forks_count":110,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-10T06:40:55.733Z","etag":null,"topics":["composer","docker","docker-php","hacktoberfest","php"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"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/chialab.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":"2015-10-13T16:26:26.000Z","updated_at":"2025-04-07T17:22:23.000Z","dependencies_parsed_at":"2024-01-14T03:46:10.743Z","dependency_job_id":"e270d054-ed6d-43d1-9204-7b0455d79834","html_url":"https://github.com/chialab/docker-php","commit_stats":{"total_commits":187,"total_committers":16,"mean_commits":11.6875,"dds":0.4385026737967914,"last_synced_commit":"82379d46c46996e39ac9fbcb1260684bb136b912"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chialab%2Fdocker-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chialab%2Fdocker-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chialab%2Fdocker-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chialab%2Fdocker-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chialab","download_url":"https://codeload.github.com/chialab/docker-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374388,"owners_count":22060609,"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","docker","docker-php","hacktoberfest","php"],"created_at":"2024-08-01T13:01:15.903Z","updated_at":"2025-05-15T16:01:56.030Z","avatar_url":"https://github.com/chialab.png","language":"Makefile","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.chialab.io/p/docker-php\"\u003e\n        \u003cimg alt=\"Docker PHP Images logo\" width=\"144\" height=\"144\" src=\"https://raw.githack.com/chialab/docker-php/master/logo.svg\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eDocker PHP images\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/chialab/docker-php/actions\"\u003e\u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/chialab/docker-php/main.yml?branch=main\u0026style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chialab/docker-php\"\u003e\u003cimg alt=\"Source link\" src=\"https://img.shields.io/badge/Source-GitHub-lightgrey.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.chialab.it\"\u003e\u003cimg alt=\"Authors link\" src=\"https://img.shields.io/badge/Authors-Chialab-lightgrey.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://hub.docker.com/r/chialab/php/\"\u003e\u003cimg alt=\"Docker Pulls\" src=\"https://img.shields.io/docker/pulls/chialab/php.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/chialab/docker-php/blob/master/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/chialab/docker-php.svg?style=flat-square\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nDocker images built on top of the [official PHP images](https://hub.docker.com/r/_/php/) with the addition of some common and useful extensions, installed with [mlocati/docker-php-extension-installer](https://github.com/mlocati/docker-php-extension-installer). You can find these images on the [Docker Hub](https://hub.docker.com/r/chialab/php/) (and if you're reading this file, you're probably already there).\n\nAn automated build is set up, so they should be always up-to-date with the Dockerfiles in the [GitHub repository](https://github.com/chialab/docker-php). Also, every time an official PHP image is updated, a rebuild is triggered, so that you will always find the latest security patches installed in these images.\n\nFor development environments, you might want to choose an [image with XDebug installed](https://hub.docker.com/r/chialab/php-dev/), or [one with XHProf](https://hub.docker.com/r/chialab/php-xhprof/), or another [with PCOV installed](https://hub.docker.com/r/chialab/php-pcov/), instead.\n\n## Available tags\n- `latest`\n- `5.6`\n- `5.6-apache`\n- `5.6-fpm`\n- `7.0`\n- `7.0-apache`\n- `7.0-fpm`\n- `7.1`\n- `7.1-apache`\n- `7.1-fpm`\n- `7.2`\n- `7.2-apache`\n- `7.2-fpm`\n- `7.3`\n- `7.3-apache`\n- `7.3-fpm`\n- `7.4`\n- `7.4-apache`\n- `7.4-fpm`\n- `8.0`\n- `8.0-apache`\n- `8.0-fpm`\n- `8.1`\n- `8.1-apache`\n- `8.1-fpm`\n- `8.2`\n- `8.2-apache`\n- `8.2-fpm`\n- `8.3`\n- `8.3-apache`\n- `8.3-fpm`\n- `8.4`\n- `8.4-apache`\n- `8.4-fpm`\n\nAs you might have guessed, all tags are built on top of the corresponding tag of the official image. Not all tags are supported in order to easen maintenance.\n\n## Installed extensions\nThe following modules and extensions have been enabled,\nin addition to those you can already find in the [official PHP image](https://hub.docker.com/r/_/php/):\n\n- `amqp`\n- `bcmath`\n- `bz2`\n- `calendar`\n- `event`\n- `exif`\n- `gd`\n- `gettext`\n- `iconv`\n- `imagick`\n- `intl`\n- `ldap`\n- `mbstring`\n- `mcrypt` (_only PHP ≤ 7.1_)\n- `memcached`\n- `mysql` (_only PHP 5.x_)\n- `mysqli`\n- `pdo_mysql`\n- `pdo_pgsql`\n- `pgsql`\n- `redis`\n- `soap`\n- `sockets`\n- `xsl`\n- `Zend OPcache`\n- `zip`\n\nYou will probably not need all this stuff. Even if having some extra extensions loaded ain't a big issue in most cases, you will very likely want to checkout this repository, remove unwanted extensions from the `Dockerfile`, and build your own image — for sometimes removing is easier than adding. 😉\n\n## Composer\n[Composer](https://getcomposer.org) is installed globally in all images. Please, refer to their documentation for usage hints.\nSince 2020/11/01 both version 1 and 2 are installed, available through `composer1` and `composer2` commands respectively (`composer` in now a symlink to `composer2`).  \n[Prestissimo (composer plugin)](https://github.com/hirak/prestissimo) is installed globally in all images, for use with Composer version 1. It's a plugin that downloads packages in parallel to speed up the installation process of Composer packages.\n\n## Contributing\nIf you find an issue, or have a special wish not yet fulfilled, please [open an issue on GitHub](https://github.com/chialab/docker-php/issues) providing as many details as you can (the more you are specific about your problem, the easier it is for us to fix it).\n\nPull requests are welcome, too! 😁 Please, run `make build` and `make test` before attempting a pull request. Also, it would be nice if you could stick to the [best practices for writing Dockerfiles](https://docs.docker.com/articles/dockerfile_best-practices/).\n\n---\n\n## License\n\nDocker PHP Images is released under the [MIT](https://github.com/chialab/docker-php/blob/master/LICENSE) license.\n","funding_links":[],"categories":["Makefile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchialab%2Fdocker-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchialab%2Fdocker-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchialab%2Fdocker-php/lists"}