{"id":19081845,"url":"https://github.com/tacone/psr-police","last_synced_at":"2026-06-17T12:32:42.413Z","repository":{"id":25242584,"uuid":"28667309","full_name":"tacone/psr-police","owner":"tacone","description":"Installs php-cs-fixer git hook automatically using a composer script","archived":false,"fork":false,"pushed_at":"2015-01-04T21:50:14.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-05T09:12:41.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tacone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-31T14:10:22.000Z","updated_at":"2015-02-09T10:21:15.000Z","dependencies_parsed_at":"2022-07-25T10:17:05.553Z","dependency_job_id":null,"html_url":"https://github.com/tacone/psr-police","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/tacone/psr-police","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacone%2Fpsr-police","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacone%2Fpsr-police/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacone%2Fpsr-police/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacone%2Fpsr-police/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tacone","download_url":"https://codeload.github.com/tacone/psr-police/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacone%2Fpsr-police/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34449277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T02:39:31.322Z","updated_at":"2026-06-17T12:32:42.394Z","avatar_url":"https://github.com/tacone.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PSR Police\n==========\n\nA handy tool to add a PHP syntax check and PSR-2 enforcement *git pre-commit hook* to your project.\n\nInstall it globally like:\n\n```sh\nphpcomposer global require tacone/psr-police\n```\n\nThen make sure `~/.composer/vendor/bin` is in your PATH.\n\nFrom now on you can enforce PSR-2 on every commit by calling PSR Police (once per project):\n\n```\ncd /var/www/myproject\npsr-police\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacone%2Fpsr-police","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftacone%2Fpsr-police","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacone%2Fpsr-police/lists"}