{"id":20511518,"url":"https://github.com/thiiagoms/phost","last_synced_at":"2025-07-03T07:35:03.590Z","repository":{"id":47455070,"uuid":"231415373","full_name":"thiiagoms/phost","owner":"thiiagoms","description":":elephant: :penguin: PHP CLI tool designed to simplify the process of creating and managing virtual host configurations on a local development environment","archived":false,"fork":false,"pushed_at":"2024-09-02T12:34:54.000Z","size":172,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T22:47:41.848Z","etag":null,"topics":["devops","lampp","linux","php","php-linux","php-tool","php-tools","php-vhosts","sysadmin","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/thiiagoms.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":"2020-01-02T16:06:52.000Z","updated_at":"2024-09-10T23:58:11.000Z","dependencies_parsed_at":"2024-12-15T21:16:25.112Z","dependency_job_id":null,"html_url":"https://github.com/thiiagoms/phost","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thiiagoms/phost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiiagoms%2Fphost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiiagoms%2Fphost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiiagoms%2Fphost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiiagoms%2Fphost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiiagoms","download_url":"https://codeload.github.com/thiiagoms/phost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiiagoms%2Fphost/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263283571,"owners_count":23442373,"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":["devops","lampp","linux","php","php-linux","php-tool","php-tools","php-vhosts","sysadmin","ubuntu"],"created_at":"2024-11-15T20:36:13.837Z","updated_at":"2025-07-03T07:35:03.563Z","avatar_url":"https://github.com/thiiagoms.png","language":"PHP","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/thiiagoms/phost\"\u003e\n        \u003cimg src=\"assets/elephant.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n    \u003c/a\u003e\n    \u003ch3 align=\"center\"\u003eCreate virtual hosts with PHost :elephant:\u003c/h3\u003e\n    \u003cp float=\"left\"\u003e\n        \u003cimg\n            src=\"https://img.shields.io/badge/PHP-777BB4?style=for-the-badge\u0026logo=php\u0026logoColor=white\"\n            alt=\"PHP\"\n        \u003e\n    \u003c/p\u003e\n\u003c/div\u003e\n\nSimple CLI tool designed to simplify the process of creating and managing virtual host configurations on a local development environment. It provides a convenient way to set up virtual hosts for web projects, making it easier to access them through custom domain names.\n\n- [Dependencies](#Dependencies)\n- [Install](#Install)\n- [Run](#Run)\n\n### Dependencies :heavy_plus_sign:\n* PHP 8.1+\n* Composer or Docker\n\n### Install :package:\n\n01 -) Clone:\n```bash\n$ git clone https://github.com/thiiagoms/phost\n```\n\n02 -) Change to `phost` directory:\n```bash\n$ cd phost\nphost $\n```\n\n03 -) Install dependencies with `composer` package manager:\n```bash\nphost $ composer install\n```\n\n### Run :runner:\n\n01 -) Give `phost` permissions:\n```bash\nphost $ chmod +x phost\n```\n\n02 -) Run `phost` with **sudo**:\n```bash\nphost $ ./phost\n\n  ██████╗ ██╗  ██╗ ██████╗ ███████╗████████╗\n  ██╔══██╗██║  ██║██╔═══██╗██╔════╝╚══██╔══╝\n  ██████╔╝███████║██║   ██║███████╗   ██║ \n  ██╔═══╝ ██╔══██║██║   ██║╚════██║   ██║ \n  ██║     ██║  ██║╚██████╔╝███████║   ██║\n  ╚═╝     ╚═╝  ╚═╝ ╚═════╝ ╚══════╝   ╚═╝\n  \n  [*] Author: Thiago AKA thiiagoms\n  [*] Version: 1.1\n        \n\u003e\u003e\u003e domain:\n\u003e\u003e\u003e extension: \n```\n\n\n### Bonus:\n\n01 -) Run lint:\n```bash\n\nphost $ composer phpcs\n```\n\n02 -) Run tests:\n```bash\nphost $ composer test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiiagoms%2Fphost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiiagoms%2Fphost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiiagoms%2Fphost/lists"}