{"id":22367178,"url":"https://github.com/sukhoy94/apache-php-docker","last_synced_at":"2025-03-26T15:51:59.351Z","repository":{"id":117094263,"uuid":"609552589","full_name":"sukhoy94/apache-php-docker","owner":"sukhoy94","description":"Basic stuff to start developing php with apache","archived":false,"fork":false,"pushed_at":"2023-06-04T14:37:23.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T17:13:26.967Z","etag":null,"topics":["apache2","docker-compose","docker-phpdev","php8","phpstan-l9"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/sukhoy94.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}},"created_at":"2023-03-04T14:25:23.000Z","updated_at":"2023-03-30T13:43:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d95b0d9-06bd-460c-aa47-445963f420b0","html_url":"https://github.com/sukhoy94/apache-php-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukhoy94%2Fapache-php-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukhoy94%2Fapache-php-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukhoy94%2Fapache-php-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukhoy94%2Fapache-php-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sukhoy94","download_url":"https://codeload.github.com/sukhoy94/apache-php-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245689452,"owners_count":20656414,"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":["apache2","docker-compose","docker-phpdev","php8","phpstan-l9"],"created_at":"2024-12-04T18:16:41.089Z","updated_at":"2025-03-26T15:51:59.335Z","avatar_url":"https://github.com/sukhoy94.png","language":"PHP","readme":"# Why? \nI always was exhausted with all this xampp, lamp configurations and so on. I want to run one command and have my environment working. That's why I decided to create such 'template' and put it to repository.\n\n# apache-php-docker\nBasic stuff to start developing php with apache.\nThe main purpose of this repo is to get simple working environment with apache + php with autoloading.\n\nInside by default there are autoload and static analysis.\n\n# How to start\n\n```\ndocker-compose up --build --force-recreate\n```\nApplication will be available on http://localhost:80/\n\n# Static analysis\n\nRun inside a container:\n```\nvendor/bin/phpstan analyse\n```\n\nBy default, app folder will be analyzed with the phpstan rule level 9 \n\n# Change php version\n\nModify \n`FROM php:8.1-apache line in Dockerfilte` to image you need, for example\n`FROM php:7.1-apache` to have php 7.1 version.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukhoy94%2Fapache-php-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukhoy94%2Fapache-php-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukhoy94%2Fapache-php-docker/lists"}