{"id":20677771,"url":"https://github.com/clivern/phpcs","last_synced_at":"2025-07-02T06:03:01.051Z","repository":{"id":56954075,"uuid":"380824290","full_name":"Clivern/phpcs","owner":"Clivern","description":"📦 Personal PHP Coding Standards.","archived":false,"fork":false,"pushed_at":"2021-10-18T21:15:34.000Z","size":87,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"1.x","last_synced_at":"2025-07-02T06:02:44.099Z","etag":null,"topics":["php-cs-fixer","phpcs","phpcs-standard"],"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/Clivern.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":"2021-06-27T19:40:58.000Z","updated_at":"2021-10-18T21:15:30.000Z","dependencies_parsed_at":"2022-08-21T04:10:14.020Z","dependency_job_id":null,"html_url":"https://github.com/Clivern/phpcs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Clivern/phpcs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2Fphpcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2Fphpcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2Fphpcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2Fphpcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clivern","download_url":"https://codeload.github.com/Clivern/phpcs/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clivern%2Fphpcs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263083558,"owners_count":23411162,"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-cs-fixer","phpcs","phpcs-standard"],"created_at":"2024-11-16T21:17:03.935Z","updated_at":"2025-07-02T06:03:01.019Z","avatar_url":"https://github.com/Clivern.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"phpcs logo\" src=\"/assets/img/logo.png?v=1.0.2\" height=\"200\" /\u003e\n    \u003ch3 align=\"center\"\u003ePHP Coding Standards\u003c/h3\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://packagist.org/packages/clivern/phpcs\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/Version-1.0.2-red.svg\"\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://github.com/Clivern/phpcs/blob/master/LICENSE\"\u003e\n            \u003cimg src=\"https://img.shields.io/badge/LICENSE-MIT-orange.svg\"\u003e\n        \u003c/a\u003e\n    \u003c/p\u003e\n\u003c/p\u003e\n\n\n## Documentation\n\n### Installation:\n\nTo install the package via `composer`, use the following:\n\n```zsh\n$ composer require clivern/phpcs --dev\n```\n\nPlace a file named `.php-cs-fixer.dist.php` that has following content in your project's root directory.\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Clivern\\CodingStandards\\Rules;\nuse PhpCsFixer\\Config;\nuse PhpCsFixer\\Finder;\n\n\n$fileHeaderComment = \u003c\u003c\u003cCOMMENT\nThis file is part of Clivern/phpcs - PHP Coding Standards\n(c) Clivern \u003chello@clivern.com\u003e\nCOMMENT;\n\n$finder = Finder::create()\n    -\u003ename('.php_cs.dist')\n    -\u003ein(__DIR__)\n    -\u003eexclude('vendor');\n\n$overrides = [\n    'declare_strict_types' =\u003e true,\n];\n\nreturn (new Config())\n    -\u003esetFinder($finder)\n    -\u003esetRiskyAllowed(true)\n    -\u003esetRules(Rules::PHP72($fileHeaderComment, $overrides));\n```\n\n\n## Versioning\n\nFor transparency into our release cycle and in striving to maintain backward compatibility, phpcs is maintained under the [Semantic Versioning guidelines](https://semver.org/) and release process is predictable and business-friendly.\n\nSee the [Releases section of our GitHub project](https://github.com/clivern/phpcs/releases) for changelogs for each release version of phpcs. It contains summaries of the most noteworthy changes made in each release.\n\n\n## Bug tracker\n\nIf you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/clivern/phpcs/issues\n\n\n## Security Issues\n\nIf you discover a security vulnerability within phpcs, please send an email to [hello@clivern.com](mailto:hello@clivern.com)\n\n\n## Contributing\n\nWe are an open source, community-driven project so please feel free to join us. see the [contributing guidelines](CONTRIBUTING.md) for more details.\n\n\n## License\n\n© 2021, clivern. Released under [MIT License](https://opensource.org/licenses/mit-license.php).\n\n**phpcs** is authored and maintained by [@clivern](http://github.com/clivern).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclivern%2Fphpcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclivern%2Fphpcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclivern%2Fphpcs/lists"}