{"id":15776246,"url":"https://github.com/avil13/php-master","last_synced_at":"2026-04-05T21:32:29.188Z","repository":{"id":66188027,"uuid":"405405933","full_name":"avil13/php-master","owner":"avil13","description":"Simple docker-compose config to work with php.","archived":false,"fork":false,"pushed_at":"2023-08-14T20:23:19.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-27T20:02:18.088Z","etag":null,"topics":["docker","docker-compose","docker-image","php","php8","php80","server"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/avil13.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":"2021-09-11T14:52:18.000Z","updated_at":"2022-01-09T08:00:48.000Z","dependencies_parsed_at":"2024-10-25T22:24:40.701Z","dependency_job_id":"0bdd3028-068a-428c-8c0f-f97f4cdb6aad","html_url":"https://github.com/avil13/php-master","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.4,"last_synced_commit":"c1443ea898ea311abfd1a796d757c76700e7f188"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avil13/php-master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fphp-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fphp-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fphp-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fphp-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avil13","download_url":"https://codeload.github.com/avil13/php-master/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avil13%2Fphp-master/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-compose","docker-image","php","php8","php80","server"],"created_at":"2024-10-04T17:05:33.502Z","updated_at":"2026-04-05T21:32:29.146Z","avatar_url":"https://github.com/avil13.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-master\nSimple docker-compose config to work with php.\n\n---\n\nAn easy-to-use repository if you want to quickly try something in php.\n\nUsed by:\n\n- php: 8.1\n- mariadb: 10.5\n- nginx\n- phpmyadmin\n\nYou should already have docker and docker-compose.\n\n## Project structure\n\n- `etc` - folder with configs, including nginx\n- `www` - folder with sites.\n- `add_site.sh` - a script for quickly adding a new site folder to it, nginx config and generating an ssl certificate.\n\n## Start\n\nAnything you might need can be done with the `make` command.\n\n### If you want to work with your hands\n\nAt the root of the project\n\n```bash\n# up the local container\ndocker-compose up -d\n```\nThe default address is `http://0.0.0.0/`\n\nYou can add a domain in `/etc/hosts` (or analogs depending on the OS)\n\n```\n# Host addresses\n\n0.0.0.0    test.loc\n\n```\ntest.loc - used for example and test work\n\n## Adding a site\n\n```bash\n# bash\nmake add\n```\n\nThe script `add_site.sh` is used to add a new site.\n\nAfter starting, it will create a folder with the domain name in `www` and a config to connect it to nginx and ssl certificate.\n\nAfter creating the site, it is recommended to restart docker-compose to apply the config in nginx.\n\n\u003e By default, all generated files are in `.gitignore`. You will have to fix it yourself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favil13%2Fphp-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favil13%2Fphp-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favil13%2Fphp-master/lists"}