{"id":13635681,"url":"https://github.com/swoft-cloud/swoft-cli","last_synced_at":"2025-04-27T15:33:50.399Z","repository":{"id":95217688,"uuid":"165875330","full_name":"swoft-cloud/swoft-cli","owner":"swoft-cloud","description":"🛠️ Command line tool for quick use swoft. Support create new application, generate class, hot reload server and more.","archived":false,"fork":false,"pushed_at":"2020-12-09T02:39:41.000Z","size":320,"stargazers_count":46,"open_issues_count":3,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-05T01:04:45.169Z","etag":null,"topics":["swoft","swoft-application","swoft-cli","swoft-console"],"latest_commit_sha":null,"homepage":"https://www.swoft.org/docs","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/swoft-cloud.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}},"created_at":"2019-01-15T15:28:35.000Z","updated_at":"2024-12-16T05:57:45.000Z","dependencies_parsed_at":"2023-04-09T19:31:54.136Z","dependency_job_id":null,"html_url":"https://github.com/swoft-cloud/swoft-cli","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoft-cloud%2Fswoft-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoft-cloud%2Fswoft-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoft-cloud%2Fswoft-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoft-cloud%2Fswoft-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swoft-cloud","download_url":"https://codeload.github.com/swoft-cloud/swoft-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251162807,"owners_count":21545821,"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":["swoft","swoft-application","swoft-cli","swoft-console"],"created_at":"2024-08-02T00:00:49.631Z","updated_at":"2025-04-27T15:33:45.392Z","avatar_url":"https://github.com/swoft-cloud.png","language":"PHP","funding_links":[],"categories":["Popular Packages"],"sub_categories":[],"readme":"# Swoft CLI\n\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/swoft-cloud/swoft-cli)](https://github.com/swoft-cloud/swoft-cli)\n[![Php Version](https://img.shields.io/badge/php-%3E=7.1-brightgreen.svg?maxAge=2592000)](https://secure.php.net/)\n[![Swoft Doc](https://img.shields.io/badge/docs-passing-green.svg?maxAge=2592000)](https://www.swoft.org/docs)\n[![Swoft License](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000)](https://github.com/swoft-cloud/swoft/blob/master/LICENSE)\n[![PHP-CI](https://github.com/swoft-cloud/swoft-cli/workflows/PHP-CI/badge.svg)](https://github.com/swoft-cloud/swoft-cli/actions)\n\n\u003e **[中文说明](README.zh-CN.md)**\n\n🛠️ swoft-cli is an CLI tool application for quick use swoft.\n\n- Quick create new application skeleton\n- Quick create new component skeleton\n- Monitor file changes of the user's swoft project and automatically restart the server\n- Generate swoft class: http controller, http middleware, ws module, ws controller and more\n- More features ...\n\n\u003e Documents on https://www.swoft.org/docs/2.x/zh-CN/tool/swoftcli/index.html\n\n![home](swoftcli-home.png)\n\n## Install\n\nDownload phar from github releases page\n\n\u003e Notice: please replace the `{VERSION}` to specified version\n\n```bash\n# wget https://github.com/swoft-cloud/swoft-cli/releases/download/{VERSION}/swoftcli.phar\n# eg\nwget https://github.com/swoft-cloud/swoft-cli/releases/download/v0.2.0/swoftcli.phar\n\n# quick check\nphp swoftcli.phar -V\nphp swoftcli.phar -h\n```\n\nAdd to global ENV PATH:\n\n```bash\n# move to ENV path:\nmv swoftcli.phar /usr/local/bin/swoftcli\nchmod a+x /usr/local/bin/swoftcli\n\n# check\nswoftcli -V\n```\n\n## Build\n\nYou can build package from latest code:\n\n```bash\nphp -d phar.readonly=0 bin/swoftcli phar:pack -o=swoftcli.phar\n```\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswoft-cloud%2Fswoft-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswoft-cloud%2Fswoft-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswoft-cloud%2Fswoft-cli/lists"}