{"id":34866169,"url":"https://github.com/tpay-com/php-coding-standards","last_synced_at":"2026-01-20T17:14:30.674Z","repository":{"id":187628662,"uuid":"676900494","full_name":"tpay-com/php-coding-standards","owner":"tpay-com","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-13T12:44:12.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-27T08:08:12.085Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpay-com.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-10T09:14:59.000Z","updated_at":"2025-08-13T12:43:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"4323456c-fb9c-4c50-9576-1b0345ad5c4e","html_url":"https://github.com/tpay-com/php-coding-standards","commit_stats":null,"previous_names":["tpay-com/php-coding-standards"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tpay-com/php-coding-standards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpay-com%2Fphp-coding-standards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpay-com%2Fphp-coding-standards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpay-com%2Fphp-coding-standards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpay-com%2Fphp-coding-standards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpay-com","download_url":"https://codeload.github.com/tpay-com/php-coding-standards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpay-com%2Fphp-coding-standards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-12-25T22:28:10.512Z","updated_at":"2026-01-20T17:14:30.666Z","avatar_url":"https://github.com/tpay-com.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Tpay](https://tpay.com)'s PHP coding standards\n\n[![Latest stable version](https://img.shields.io/packagist/v/tpay-com/coding-standards.svg?label=current%20version)](https://packagist.org/packages/tpay-com/coding-standards)\n[![PHP version](https://img.shields.io/packagist/php-v/tpay-com/coding-standards.svg)](https://php.net)\n[![License](https://img.shields.io/github/license/tpay-com/php-coding-standards.svg)](LICENSE)\n[![CI status](https://github.com/tpay-com/php-coding-standards/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/tpay-com/php-coding-standards/actions)\n[![Type coverage](https://shepherd.dev/github/tpay-com/php-coding-standards/coverage.svg)](https://shepherd.dev/github/tpay-com/php-coding-standards)\n\n\n## Installation\nRun command:\n```console\ncomposer require --dev tpay-com/coding-standards\n```\n\n\n## Usage\nCreate `.php-cs-fixer.php` file and use `Tpay\\CodingStandards\\PhpCsFixerConfigFactory`:\n```php\n\u003c?php\n\nrequire __DIR__ . '/vendor/tpay-com/coding-standards/bootstrap.php';\n\nreturn Tpay\\CodingStandards\\PhpCsFixerConfigFactory::createWithAllRules()\n    -\u003esetFinder(\n        PhpCsFixer\\Finder::create()\n            -\u003eignoreDotFiles(false)\n            -\u003ein(__DIR__)\n    );\n```\n\nInstead of `createWithAllRules` you can use method `createWithNonRiskyRules` to use only non-risky fixers.\n\nUse method `createWithLegacyRules` to use only set of fixers that is safe down to PHP 5.6.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpay-com%2Fphp-coding-standards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpay-com%2Fphp-coding-standards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpay-com%2Fphp-coding-standards/lists"}