{"id":25659490,"url":"https://github.com/appzcoder/phpcloc","last_synced_at":"2025-07-19T05:07:05.539Z","repository":{"id":62486439,"uuid":"134122776","full_name":"appzcoder/phpcloc","owner":"appzcoder","description":":rocket: Cloc \u0026 duplicate code checker tool","archived":false,"fork":false,"pushed_at":"2018-05-28T04:59:11.000Z","size":205,"stargazers_count":37,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-05-20T00:48:25.338Z","etag":null,"topics":["cloc","code-duplication","console","duplicate-detection","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/appzcoder/phpcloc","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/appzcoder.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":"2018-05-20T05:33:29.000Z","updated_at":"2024-06-09T08:59:23.000Z","dependencies_parsed_at":"2022-11-02T10:15:33.609Z","dependency_job_id":null,"html_url":"https://github.com/appzcoder/phpcloc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/appzcoder/phpcloc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appzcoder%2Fphpcloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appzcoder%2Fphpcloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appzcoder%2Fphpcloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appzcoder%2Fphpcloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appzcoder","download_url":"https://codeload.github.com/appzcoder/phpcloc/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appzcoder%2Fphpcloc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892101,"owners_count":23844967,"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":["cloc","code-duplication","console","duplicate-detection","php"],"created_at":"2025-02-24T01:17:35.623Z","updated_at":"2025-07-19T05:07:05.517Z","avatar_url":"https://github.com/appzcoder.png","language":"PHP","readme":"\n# PHPCloc\n:rocket: Cloc \u0026 duplicate code checker written in PHP\n\n## Requirements\n    PHP \u003e= 5.5.9\n\n## Installation\n### Manual\n```\n$ wget https://github.com/appzcoder/phpcloc/releases/download/v0.0.2/phpcloc.phar -O phpcloc\n// or\n$ curl -L https://github.com/appzcoder/phpcloc/releases/download/v0.0.2/phpcloc.phar -o phpcloc\n```\nThen\n```\n$ sudo chmod a+x phpcloc\n$ sudo mv phpcloc /usr/local/bin/phpcloc\n```\n\n### Composer\n```\n$ composer global require appzcoder/phpcloc\n```\n\n## Usage\n### Cloc\n```\n$ phpcloc cloc .\n```\n\u003cimg width=\"614\" alt=\"cloc\" src=\"https://user-images.githubusercontent.com/1708683/40279910-0c5d093e-5c6d-11e8-86e8-d78d59a4acbe.png\"\u003e\n\n### Duplicate code checker\n```\n$ phpcloc duplicate . --ext=php\n```\n\u003cimg width=\"1287\" alt=\"duplicate\" src=\"https://user-images.githubusercontent.com/1708683/40583089-056da3ea-61a9-11e8-95ca-e68504d86338.png\"\u003e\n\n#### Available Commands\n```\n$ phpcloc cloc directory --ext=php,js --exclude=vendor,node_modules\n```\n\n```\n$ phpcloc duplicate directory --ext=php --exclude=vendor\n```\n\n## Todo\n- Improve algorithm complexity\n- Testing\n\n## Author\n\n[Sohel Amin](http://sohelamin.com)\n\n## License\n\nThis project is licensed under the MIT License - see the [License File](LICENSE) for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappzcoder%2Fphpcloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappzcoder%2Fphpcloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappzcoder%2Fphpcloc/lists"}