{"id":25471503,"url":"https://github.com/zhouyl/phpfmt-tool","last_synced_at":"2025-11-05T04:30:28.655Z","repository":{"id":57091022,"uuid":"93147629","full_name":"zhouyl/phpfmt-tool","owner":"zhouyl","description":"PHPFMT 命令行工具","archived":false,"fork":false,"pushed_at":"2017-09-07T10:59:19.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T13:41:18.441Z","etag":null,"topics":["php-tools","phpfmt"],"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/zhouyl.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":"2017-06-02T09:00:28.000Z","updated_at":"2019-07-27T13:05:21.000Z","dependencies_parsed_at":"2022-08-22T18:20:57.494Z","dependency_job_id":null,"html_url":"https://github.com/zhouyl/phpfmt-tool","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/zhouyl%2Fphpfmt-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fphpfmt-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fphpfmt-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhouyl%2Fphpfmt-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhouyl","download_url":"https://codeload.github.com/zhouyl/phpfmt-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449563,"owners_count":19640534,"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":["php-tools","phpfmt"],"created_at":"2025-02-18T09:47:25.254Z","updated_at":"2025-11-05T04:30:28.598Z","avatar_url":"https://github.com/zhouyl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPFMT-tool\n\n## Installation\n\n### Via Composer\n\n```bash\ncomposer require zhouyl/phpfmt-tool\n```\n\n### Configuration file lookup order\n\n1. $PWD/.phpfmt.ini (customize)\n2. $HOME/.phpfmt/.phpfmt.ini (global)\n\n### Customize the configuration file\n\n```bash\ncp vendor/zhouyl/phpfmt-tool/.phpfmt.ini .\n```\n\n### Customize the default formatting directories (e.g. laravel 5.x)\n\n```bash\necho \"./app ./bootstrap ./database\" \u003e ./.phpfmtdirs\n```\n\n### Usage\n\n```bash\ncd /workspace/myapplication\nvendor/bin/phpfmt\n```\n\n## Global Installation\n\n```bash\nwget --no-check-certificate https://github.com/zhouyl/phpfmt-tool/raw/master/phpfmt -O /usr/local/bin/phpfmt\nchmod +x /usr/local/bin/phpfmt\ncd /workspace/myaplication\nphpfmt .\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhouyl%2Fphpfmt-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhouyl%2Fphpfmt-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhouyl%2Fphpfmt-tool/lists"}