{"id":19460474,"url":"https://github.com/haensl/vm-php","last_synced_at":"2026-04-08T23:34:06.260Z","repository":{"id":145192177,"uuid":"107185656","full_name":"haensl/vm-php","owner":"haensl","description":"Vagrant box with LAMP stack (PHP 7), mailhog, exim4, development and production/QA site.","archived":false,"fork":false,"pushed_at":"2017-11-08T20:54:27.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T02:22:08.291Z","etag":null,"topics":["ansible","ansible-role","ansible-roles","development-environment","development-tools","development-utility","exim","geerlingguy","mailhog","mysql","php","php7","qa-site","vagrant","vagrant-boxes","vm-php"],"latest_commit_sha":null,"homepage":null,"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/haensl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-10-16T21:35:36.000Z","updated_at":"2017-11-25T16:10:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"11f2bf34-11ab-4010-b8bf-2e37d9d0eeb5","html_url":"https://github.com/haensl/vm-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvm-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvm-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvm-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvm-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haensl","download_url":"https://codeload.github.com/haensl/vm-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240665155,"owners_count":19837684,"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":["ansible","ansible-role","ansible-roles","development-environment","development-tools","development-utility","exim","geerlingguy","mailhog","mysql","php","php7","qa-site","vagrant","vagrant-boxes","vm-php"],"created_at":"2024-11-10T17:37:17.385Z","updated_at":"2026-04-08T23:34:01.235Z","avatar_url":"https://github.com/haensl.png","language":"Shell","readme":"# VM-PHP\n\n##### PHP project skeleton.\n\n![Intro](intro.gif)\n\nVagrant box featuring:\n- Debian Jessie\n- Apache\n- MySQL\n- PHP 7\n- MailHog\n- exim4\n- development site\n- qa site\n\n## Quick Start\n\n1. Fork this repository\n2. `cd` into repository folder\n3. `vagrant up`\n\n    development: `http://localhost:8080`\n\n    qa: `http://localhost:8081`\n\n    mailhog: `http://localhost:8025`\n4. enjoy.\n\n\n## Requirements\n\n- [Vagrant](https://github.com/hashicorp/vagrant)\n- [Ansible](https://github.com/ansible/ansible)\n\n## Customization\n\nThis VM setup relies on several Ansible roles which can mostly be adjusted via overriding values in [VM/host_vars/default](VM/host_vars/default). Please visit the respective project for further information:\n\n- [geerlingguy/ansible-role-apache](https://github.com/geerlingguy/ansible-role-apache)\n- [geerlingguy/ansible-role-exim](https://github.com/geerlingguy/ansible-role-exim)\n- [geerlingguy/ansible-role-mailhog](https://github.com/geerlingguy/ansible-role-mailhog)\n- [geerlingguy/ansible-role-mysql](https://github.com/geerlingguy/ansible-role-mysql)\n- [geerlingguy/ansible-role-php](https://github.com/geerlingguy/ansible-role-php)\n\n### MySQL\n\n#### Username/password\n\ndefault: `root // root`\n\nSet `mysql_user`and `mysql_pass` in [VM/host_vars/default](VM/host_vars/default).\n\n#### Database\n\ndefault: `vm-php`\n\nSet `mysql_db` in [VM/host_vars/default](VM/host_vars/default).\n\n#### Tables\n\nPut your sql statements for initial database setup in [VM/roles/dev-setup/files/tables.sql](VM/roles/dev-setup/files/talbes.sql).\n\n### Apache\n\n#### src/qa directories\n\ndefault: `app/src // app/dist`\n\nSet `http_root_src` and `http_root_qa` in [VM/host_vars/default](VM/host_vars/default).\n\n#### sites\n\nSite configurations can be adjusted as needed, see [VM/roles/dev-setup/files/dev.conf](VM/roles/dev-setup/files/dev.conf) and [VM/roles/dev-setup/files/qa.conf](VM/roles/dev-setup/files/qa.conf).\n\n#### ports\n\nPorts can be adjusted via [VM/roles/dev-setup/files/ports.conf](VM/roles/dev-setup/files/ports.conf).\n\n\n## Credits\n\n[Jeff Geerling](https://github.com/geerlingguy) for his awesome Ansible roles.\n\n[Ansible](https://github.com/ansible) for their awesome configuration management tool.\n\n[Hashicorp](https://github.com/hashicorp) for their awesome virtualization managment tool.\n\n##\n\n\n#### [CHANGELOG](CHANGELOG.md)\n#### [LICENSE](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaensl%2Fvm-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaensl%2Fvm-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaensl%2Fvm-php/lists"}