{"id":33983688,"url":"https://github.com/pretty-helpful-php/coding-standard","last_synced_at":"2025-12-13T04:09:07.671Z","repository":{"id":57044530,"uuid":"173467901","full_name":"pretty-helpful-php/coding-standard","owner":"pretty-helpful-php","description":"The Pretty Helpful PHP coding standard","archived":false,"fork":false,"pushed_at":"2019-03-04T00:57:53.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T16:23:36.949Z","etag":null,"topics":["coding-standards","php","php-codesniffer","phpcs","phpcs-standards"],"latest_commit_sha":null,"homepage":"","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/pretty-helpful-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-02T15:56:11.000Z","updated_at":"2019-03-04T00:53:06.000Z","dependencies_parsed_at":"2022-08-24T04:50:14.055Z","dependency_job_id":null,"html_url":"https://github.com/pretty-helpful-php/coding-standard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pretty-helpful-php/coding-standard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty-helpful-php%2Fcoding-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty-helpful-php%2Fcoding-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty-helpful-php%2Fcoding-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty-helpful-php%2Fcoding-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pretty-helpful-php","download_url":"https://codeload.github.com/pretty-helpful-php/coding-standard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pretty-helpful-php%2Fcoding-standard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27699694,"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","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"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":["coding-standards","php","php-codesniffer","phpcs","phpcs-standards"],"created_at":"2025-12-13T04:09:07.031Z","updated_at":"2025-12-13T04:09:07.666Z","avatar_url":"https://github.com/pretty-helpful-php.png","language":"PHP","readme":"# Pretty Helpful PHP Coding Standard\n\n* [Introduction](#introduction)\n* [Installation](#installation)\n* [How to use](#how-to-use)\n* [Contributing](#contributing)\n* [License](#license)\n\n## Introduction\n\nThe Pretty Helpful PHP coding standard is a [PSR-2-based](https://www.php-fig.org/psr/psr-2/) coding standard built for use with [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).\n\nThis coding standard was written with the following basic principles in mind:\n1) Be consistent.\n2) Keep functions simple and easy to read.\n3) Avoid practices that lead to unreliable code or unreliable tests.\n\n## Installation\n\nThis standard is configured for use with [Composer](http://getcomposer.org).\n\nTo install it as a dependency, run the following command:\n```\ncomposer require pretty-helpful-php/coding-standard --dev\n```\n\n## How to use\n\nOnce the standard is installed, it can be run from command line using the following command:\n\n```\nphpcs --standard=PrettyHelpfulPHP /path/to/somefile.php\n```\n\nSee the [PHP_CodeSniffer usage page](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage) for more information.\n\n## Contributing\n\nContributions are welcome. See [contributing](.github/CONTRIBUTING.md) for more information.\n\n## License\n\nThis coding standard is published under the [MIT](LICENSE) license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpretty-helpful-php%2Fcoding-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpretty-helpful-php%2Fcoding-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpretty-helpful-php%2Fcoding-standard/lists"}