{"id":29445561,"url":"https://github.com/99linesofcode/docker-php","last_synced_at":"2026-04-03T00:45:08.034Z","repository":{"id":297313158,"uuid":"995639076","full_name":"99linesofcode/docker-php","owner":"99linesofcode","description":"Docker containers for PHP development and deployment","archived":false,"fork":false,"pushed_at":"2025-07-06T18:47:48.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-06T19:40:41.751Z","etag":null,"topics":["devcontainer","laravel","meilisearch","mysql","php","redis","webgrind"],"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/99linesofcode.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,"zenodo":null}},"created_at":"2025-06-03T19:45:16.000Z","updated_at":"2025-07-06T18:47:51.000Z","dependencies_parsed_at":"2025-06-05T02:58:21.771Z","dependency_job_id":"8f7dfe5d-5ee9-407c-a465-8e2ef91b28c5","html_url":"https://github.com/99linesofcode/docker-php","commit_stats":null,"previous_names":["99linesofcode/docker-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/99linesofcode/docker-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/99linesofcode%2Fdocker-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/99linesofcode%2Fdocker-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/99linesofcode%2Fdocker-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/99linesofcode%2Fdocker-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/99linesofcode","download_url":"https://codeload.github.com/99linesofcode/docker-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/99linesofcode%2Fdocker-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265180598,"owners_count":23723722,"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":["devcontainer","laravel","meilisearch","mysql","php","redis","webgrind"],"created_at":"2025-07-13T17:40:25.377Z","updated_at":"2026-04-03T00:45:08.028Z","avatar_url":"https://github.com/99linesofcode.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-php\n\nDocker PHP is a collection of services and containers intended to be pulled into a project as a submodule or subtree. It contains all the services necessary to serve a modern Laravel application for development purposes. It's very similar to what Laravel Sail provides but is further configured to suit my personal needs and preferences.\n\nAdditionally, this repository contains a production ready FrankenPHP container that is preconfigured to automatically request SSL certificates using a Cloudflare DNS challenge when built for production. See the `frankenphp/` subdirectory.\n\n## Configuration\n\n1. Run `git submodule add https://github.com/99linesofcode/docker-php.git docker` from your application root;\n1. Copy the `docker-compose.yaml.dist` to the application root;\n1. Configure the environment variables defined in the `.env.example` file in your `.env` in the application root;\n1. Run `docker compose up -d` to spin up your development environment.\n\nAlmost all the relevant configuration is done in/from the `docker-compose.yaml` file. Optional services are disabled by default. You can enable these by uncommenting their respective service blocks.\n\n## Production\n\nThere are several ways to run Docker PHP in production. Using `docker compose -d` similarly to how you run it in development or by manually building and packaging the application up into a docker image and pushing it to and pulling it from a container registry.\n\nThe FrankenPHP container uses the multi-stage build process and can be further optimized for production. If you intend to use `docker compose` you will have to change the `services.frankenphp.build.target` to `production`.\n\nIf you choose to package your application and serve it differently, make sure to pass the `--target production` flag to your `docker build` command like so: `docker build --target production -t frankenphp:production -f ./frankenphp/Dockerfile .`.\n\n## Contributing\n\nPlease review the [Contribution Guidelines](https://github.com/99linesofcode/.github/blob/main/.github/CONTRIBUTING.md).\n\n## Code of conduct\n\nIn order to ensure that the community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/99linesofcode/.github?tab=coc-ov-file).\n\n## Security vulnerabilities\n\nPlease review [the security policy](https://github.com/99linesofcode/.github?tab=security-ov-file) on how to report security vulnerabilities.\n\n## License\n\nThis software is open source and licensed under the [MIT license](https://github.com/99linesofcode/docker-php?tab=MIT-1-ov-file).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F99linesofcode%2Fdocker-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F99linesofcode%2Fdocker-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F99linesofcode%2Fdocker-php/lists"}