{"id":26714977,"url":"https://github.com/opencodeco/hfctl","last_synced_at":"2025-04-13T23:48:06.436Z","repository":{"id":186231597,"uuid":"674853737","full_name":"opencodeco/hfctl","owner":"opencodeco","description":"👩‍💻 Command line interface to help with the creation and maintenance of Hyperf applications in a Docker-based development environment.","archived":false,"fork":false,"pushed_at":"2023-11-22T22:58:02.000Z","size":36,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":27,"default_branch":"main","last_synced_at":"2025-03-27T13:51:35.462Z","etag":null,"topics":["cli","hacktoberfest","hyperf","script","tools"],"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/opencodeco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-05T01:09:36.000Z","updated_at":"2024-01-28T15:05:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad1aee88-d164-4d36-90c7-8eea8f74323e","html_url":"https://github.com/opencodeco/hfctl","commit_stats":null,"previous_names":["opencodeco/hfctl"],"tags_count":0,"template":false,"template_full_name":"opencodeco/ctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fhfctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fhfctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fhfctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencodeco%2Fhfctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencodeco","download_url":"https://codeload.github.com/opencodeco/hfctl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248799713,"owners_count":21163398,"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":["cli","hacktoberfest","hyperf","script","tools"],"created_at":"2025-03-27T13:51:39.066Z","updated_at":"2025-04-13T23:48:06.408Z","avatar_url":"https://github.com/opencodeco.png","language":"Shell","readme":"# hfctl [![.github/workflows/ci.yml](https://github.com/opencodeco/hfctl/actions/workflows/ci.yml/badge.svg?branch=main\u0026event=push)](https://github.com/opencodeco/hfctl/actions/workflows/ci.yml)\n👩‍💻 Command line interface to help with the creation and maintenance of Hyperf applications in a Docker-based development environment.\n\n## Getting started\n\n### Installation\nJust clone it to your favorite location and run the `install` sub-command:\n```shell\ngit clone https://github.com/opencodeco/hfctl.git ~/.hfctl \u0026\u0026 ~/.hfctl/hfctl install\n```\n\n#### Updates\nThen to update, you can just `git pull` or `hfctl self-update`:\n```shell\ncd ~/.hfctl\ngit pull\n```\n\n## Usage\n```shell\nhfctl \u003ccommand\u003e [arguments]\n```\n\n### Commands\n| Command | Description |\n| --- | --- |\n| `analyse` | Runs PHPStan analyses |\n| `build` | Builds the Hyperf image |\n| `composer` | Runs Composer commands |\n| `console` | Runs Hyperf console commands (`php bin/hyperf.php \u003ccommand\u003e`) |\n| `coverage` | Runs PHPUnit tests with HTML coverage |\n| `create` | Creates a new Hyperf project |\n| `down` | Runs Docker Compose down |\n| `exec` | Runs a command in the Hyperf container |\n| `help` | Shows this help message |\n| `init` | Initializes `.hfctl` config file |\n| `install` | Installs `hfctl`, `hf` and `hyperf` in your system |\n| `lint` | Runs PHP Coding Standards Fixer |\n| `logs` | Shows the Hyperf container logs (use `-f` or `--follow` to follow logs) |\n| `pre-check` | Checks if the current directory is a Hyperf project |\n| `push` | Pushes the Hyperf image to Docker Hub |\n| `restart` | Restarts the Hyperf server |\n| `self-update` | Updates `hfctl` to the latest version |\n| `sh` | Runs a shell in the Hyperf container |\n| `sonar` | Runs SonarQube analyses |\n| `start` | Starts the Hyperf server (default port is 9501) |\n| `stop` | Stops the Hyperf server |\n| `test` | Runs PHPUnit tests |\n| `up` | Runs Docker Compose up |\n| `version` | Displays image tag |\n| `watch` | Starts the Hyperf watcher |\n\u003c!-- Commands --\u003e\n\n## Contributing\nPlease visit [CONTRIBUTING.md](CONTRIBUTING.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencodeco%2Fhfctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencodeco%2Fhfctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencodeco%2Fhfctl/lists"}