{"id":19476689,"url":"https://github.com/biurad/php-coding-standard","last_synced_at":"2025-02-25T16:23:23.839Z","repository":{"id":113160727,"uuid":"274033451","full_name":"biurad/php-coding-standard","owner":"biurad","description":"✅  A library that provides coding standard and static analysis tools rulesets collection presets for Biurad PHP repositories.","archived":false,"fork":false,"pushed_at":"2021-04-20T09:44:44.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T06:36:20.949Z","etag":null,"topics":["biurad","code-standard","php","php-cs-fixer","phpcs","phpstan","psalm","static-analysis"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/biurad.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}},"created_at":"2020-06-22T03:44:36.000Z","updated_at":"2021-04-20T09:44:46.000Z","dependencies_parsed_at":"2023-07-22T15:31:36.758Z","dependency_job_id":null,"html_url":"https://github.com/biurad/php-coding-standard","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"a5f9cc7a774614574b5ffd496635698fc4b168d4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-coding-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-coding-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-coding-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biurad%2Fphp-coding-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biurad","download_url":"https://codeload.github.com/biurad/php-coding-standard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240701845,"owners_count":19843788,"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":["biurad","code-standard","php","php-cs-fixer","phpcs","phpstan","psalm","static-analysis"],"created_at":"2024-11-10T19:41:29.640Z","updated_at":"2025-02-25T16:23:23.817Z","avatar_url":"https://github.com/biurad.png","language":null,"readme":"# Check \u0026 Fix Your Code with Biurad Coding Standard\n\nThis is set of [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), [Psalm](https://github.com/vimeo/psalm) and [Phpstan](https://github.com/phpstan/phpstan) which is combined under this repository that **checks and fixes** your PHP code.\n\nThis package brings coding standard, static analysis and type support to your projects. Our goal is to increase developer's productivity and the application's overall health by finding as many coding standard and type-related bugs as possible.\n\n\u003eThe main [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) and [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) code style is based on PSR-12 with custom rules to improve performance. To apply it in your project do the following:\n\n## Install the package\n\n```sh\ncomposer require --dev biurad/coding-standard\n#or\ncomposer global require biurad/coding-standard\n```\n\n## Check the code for bugs\n\n```sh\n#vendor/bin/biurad-cs check \u003cdir1\u003e \u003cdir2\u003e \u003cfile1\u003e....\nvendor/bin/biurad-cs check src tests\n```\n\n## Automatically fix the code style\n\n```sh\n#vendor/bin/biurad-cs fix \u003cdir1\u003e \u003cdir2\u003e \u003cfile1\u003e....\nvendor/bin/biurad-cs fix src tests\n```\n\n\u003e Use --help option to find out more about command usage\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiurad%2Fphp-coding-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiurad%2Fphp-coding-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiurad%2Fphp-coding-standard/lists"}