{"id":15412144,"url":"https://github.com/maymeow/php","last_synced_at":"2026-01-30T02:52:57.297Z","repository":{"id":77980191,"uuid":"548532546","full_name":"MayMeow/php","owner":"MayMeow","description":":whale: SDK and Runtime for application development for PHP","archived":false,"fork":false,"pushed_at":"2025-01-29T10:23:11.000Z","size":30,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T05:51:12.441Z","etag":null,"topics":["cakephp4","ci-cd","developer-tools","docker-image","hacktoberfest","laravel9","php8"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/MayMeow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"maymeow","patreon":null,"open_collective":null,"ko_fi":"maymeow","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-10-09T19:06:12.000Z","updated_at":"2025-01-29T10:23:15.000Z","dependencies_parsed_at":"2025-01-29T08:28:48.966Z","dependency_job_id":"146dd2b5-24f0-4050-925d-bbf7b05293c4","html_url":"https://github.com/MayMeow/php","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.2857142857142857,"last_synced_commit":"7404785ebc8765375e8fb11092806021f5342e4d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayMeow%2Fphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MayMeow","download_url":"https://codeload.github.com/MayMeow/php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732509,"owners_count":21152851,"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":["cakephp4","ci-cd","developer-tools","docker-image","hacktoberfest","laravel9","php8"],"created_at":"2024-10-01T16:51:26.177Z","updated_at":"2026-01-30T02:52:52.275Z","avatar_url":"https://github.com/MayMeow.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/maymeow","https://ko-fi.com/maymeow","https://ko-fi.com/D1D5DMOTA"],"categories":[],"sub_categories":[],"readme":"# PHP Docker for application development\n\nDocker images that can be used for applicaiton development/ci-cd and for production. These images are based on official [PHP images](https://hub.docker.com/_/php)\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D5DMOTA)\n\n## SDK\n\nImages for use in CI/CD and for application development\n\n- Based on php-cli\n\nThis image contains:\n\n- NodeJS and NPM\n- Yarn\n- Codesniffer\n  - phpcs\n  - phpcbf\n  - php-cs-fixer\n- PSALM\n- PHPUnit\n- Xdebug\n- Redis\n- PHP Extensions: intl pdo_pgsql gd zip pdo_mysql\n- phar-composer\n  - Image has set phar.readonly to 0 (zero) to allows you to create phar files \n\n## Runtime\n\nThis image can be used for application in production environment\n\n- based on php-fpm\n\nThis image contains:\n\n- Redis\n- PHP extensions: intl pdo_pgsql gd zip pdo_mysql\n\n## Versions\n\nUse `sdk:latest` for latest build or use wanted version e.g. `sdk:8.1.6`.\n\n## Usage\n\nFor docker you can use `docker pull ghcr.io/maymeow/php/{imagename}:latest` where image name is `sdk` or `runtime`.\n\nIn docker compose use:\n\n```yml\nimage: ghcr.io/maymeow/php/runtime:latest\n# Or for SDK\nimage: ghcr.io/maymeow/php/sdk:latest\n```\n### Creating image for production environment\n\nRuntime image does not contains composer so you need to install all composer dependencies first.\n\nYou can create image with multistep build like this\n\n```Dockerfile\nFROM ghcr.io/maymeow/php/sdk:latest AS build-env\n\nWORKDIR /app\nCOPY . /app\nRUN composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --optimize-autoloader #--no-scripts\n\nFROM ghcr.io/maymeow/php/runtime:latest\n\nARG user=www-data\nCOPY --from=build-env /app /var/www\nRUN chown -R $user:$user /var/www\nWORKDIR /var/www\nRUN chmod -R 777 /var/www/logs\nUSER $user\n```\n\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaymeow%2Fphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaymeow%2Fphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaymeow%2Fphp/lists"}