{"id":21293776,"url":"https://github.com/ahmdadl/vhost","last_synced_at":"2026-05-13T07:41:43.162Z","repository":{"id":56939497,"uuid":"207113116","full_name":"ahmdadl/vhost","owner":"ahmdadl","description":"simple and easy composer Library to create virtual hosts as cli app","archived":false,"fork":false,"pushed_at":"2019-09-10T12:45:51.000Z","size":1100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T17:10:03.147Z","etag":null,"topics":["cli","cli-app","composer","hosts","hosts-file","php7","symfony-console","virtual-hosts","windows","xammp"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmdadl.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}},"created_at":"2019-09-08T13:00:15.000Z","updated_at":"2022-02-12T12:50:58.000Z","dependencies_parsed_at":"2022-08-21T01:40:20.381Z","dependency_job_id":null,"html_url":"https://github.com/ahmdadl/vhost","commit_stats":null,"previous_names":["ahmedadel35/vhost","abo3adel/vhost","ahmdadl/vhost"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ahmdadl/vhost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdadl%2Fvhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdadl%2Fvhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdadl%2Fvhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdadl%2Fvhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmdadl","download_url":"https://codeload.github.com/ahmdadl/vhost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdadl%2Fvhost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32973318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: 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":["cli","cli-app","composer","hosts","hosts-file","php7","symfony-console","virtual-hosts","windows","xammp"],"created_at":"2024-11-21T13:56:26.322Z","updated_at":"2026-05-13T07:41:43.147Z","avatar_url":"https://github.com/ahmdadl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :computer: Virtual Hosts Cli\nCreate Virtual Hosts for apache with one click\n\n## :wrench: Installation\nInstall with Composer as global for best perfomance\n```\ncomposer global require abo3adel/vhost\n```\n#### :heavy_exclamation_mark: Reqirements:\n* php: 7.3 or newer\n* symfony/console: 3.4.23\n\n\n## :sparkles: Usage\n**:heavy_exclamation_mark: Note:** Run as Administrator\n\n![trailer image](https://github.com/abo3adel/vhost/blob/master/trailer.gif)\n\nThere are two ways:\n### :fax: Options Way:\n```ps \nC:\\xampp\\htdocs\\project\u003e vhost add -s \"project.test\"\nCreating Virtual Host From this data\n========================================\n\n------------------------------------------------------------\nServerName              project.test\n------------------------------------------------------------\nDocumentRoot            \"C:\\xampp\\htdocs\\project\"\n------------------------------------------------------------\nServerAdmin             \n------------------------------------------------------------\nServerAlias             \n------------------------------------------------------------\nErrorLog                \"\"\n------------------------------------------------------------\nCustomLog               \"\"\n------------------------------------------------------------\n\nExisting Application, GoodBuy.\n```\n\n#### All Avaliable options:\n\n* add [-s|--server **[Server Name]**] **[Required]**\n* [-d|--dir [Path to Server Directory]] **[Optinal]** Defaults to **CurrentDirectory**\n* [-a|--admin **[Admin Email]**] **[Optinal]**\n* [-l|--alias **[Server Alias]**] **[Optinal]**\n* [-e|--error-log **[Error Log]**] **[Optinal]**\n* [-c|--custom-log **[Custom Log]**] **[Optinal]**\n```ps\n    C:\\xampp\\htdocs\\project\u003e vhost add -s \"project.test\" -d \"C:\\xampp\\htdocs\\someOtherApp\" -a \"example@some.com\" -l \"dev.preoject.test\" -e \"path/to/error/file.log\" -c \"path/to/custom/file.log\"\n```\n---\n### :gift: Interactive Mode:\n```ps\nC:\\xampp\\htdocs\\project\u003e vhost i\n\nCreating Virutal Host From this data\n====================================\n\n Server Name [\"project.com\"]:\n \u003e\n\n Server Directory [\"C:\\xampp\\htdocs\\project\"]:\n \u003e\n\n Server Admin Email []:\n \u003e\n\n Server Alias []:\n \u003e\n\n Error Log File []:\n \u003e\n\n Custom Log File []:\n \u003e\n\n```\n\n## TODO:\n* support linux and macOs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmdadl%2Fvhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmdadl%2Fvhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmdadl%2Fvhost/lists"}