{"id":21908865,"url":"https://github.com/skilld-labs/docker-php","last_synced_at":"2025-07-19T03:32:37.058Z","repository":{"id":46610720,"uuid":"54997409","full_name":"skilld-labs/docker-php","owner":"skilld-labs","description":"Drupal 9 and 10 on PHP 8/7 dev containers","archived":false,"fork":false,"pushed_at":"2025-03-12T18:23:19.000Z","size":213,"stargazers_count":14,"open_issues_count":12,"forks_count":16,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-16T01:53:58.044Z","etag":null,"topics":["docker","docker-image","php"],"latest_commit_sha":null,"homepage":"","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/skilld-labs.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,"zenodo":null}},"created_at":"2016-03-29T17:45:01.000Z","updated_at":"2024-12-05T00:22:38.000Z","dependencies_parsed_at":"2023-11-23T11:23:19.844Z","dependency_job_id":"7366eaf4-a4b5-40d1-bffe-b8b083ba7109","html_url":"https://github.com/skilld-labs/docker-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skilld-labs/docker-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilld-labs%2Fdocker-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilld-labs%2Fdocker-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilld-labs%2Fdocker-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilld-labs%2Fdocker-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skilld-labs","download_url":"https://codeload.github.com/skilld-labs/docker-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skilld-labs%2Fdocker-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265883674,"owners_count":23843792,"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","docker-image","php"],"created_at":"2024-11-28T17:14:12.820Z","updated_at":"2025-07-19T03:32:37.033Z","avatar_url":"https://github.com/skilld-labs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![](https://images.microbadger.com/badges/version/skilldlabs/php.svg)](http://microbadger.com/images/skilldlabs/php \"Get your own version badge on microbadger.com\") https://hub.docker.com/r/skilldlabs/php/\n\nUse `run.sh` to fetch Drupal 9.3.dev and start containers.\n\nUse `docker-compose stop` to stop containers and `docker-compose rm` to clean-up.\n\nLocal `db` directory stores mysql database files and `drupal` hold core.\n\n## Hints\n\n  For use drush directly from host machine you can specify next alias\n\n  ```alias dr=\"cd /path/to/docker-copmose.yml \u0026\u0026 docker-compose exec web drush\"```\n\n  `php-xdebug` package included to all images but disabled.\n  To enable just change `command` to enable the extension `-d zend_extension=xdebug.so`\n\n## How to customize and extend this project\n\n  If you want to add some packages you should:\n\n  Example of php8-pdo_pgsql\n\n  1) Create new container folder\n  with own Dockerfile and extend this container from base one.\n\n    ```\n    FROM skilldlabs/php:8\n    RUN apk add --no-cache php8-pdo_pgsql\n    ```\n\n  2) Change build reference in docker-compose.yml file\n\n  ```yaml\n    web:\n      #build: php8/.\n      # path to your custom container.\n      build: php8-pgsql/.\n  ```\n\n#### XDebug support\n\nTo enable xdebug in PHP container add a `command` instruction.\n\nExample usage:\n  ```yaml\n  version: \"2\"\n\n    php:\n      image: skilldlabs/php:8-fpm\n      volumes:\n        - ./docroot:/var/www/html\n      command: php-fpm8 -F -d zend_extension=xdebug.so\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskilld-labs%2Fdocker-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskilld-labs%2Fdocker-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskilld-labs%2Fdocker-php/lists"}