{"id":20704906,"url":"https://github.com/streamcommon/coding-standard","last_synced_at":"2026-03-09T19:45:34.529Z","repository":{"id":57060414,"uuid":"169134106","full_name":"streamcommon/coding-standard","owner":"streamcommon","description":"StreamCommon Team Coding Standard","archived":false,"fork":false,"pushed_at":"2020-06-12T21:43:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T20:15:30.013Z","etag":null,"topics":["coding-standart","streamcommon"],"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/streamcommon.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":"2019-02-04T19:19:10.000Z","updated_at":"2020-06-12T21:43:26.000Z","dependencies_parsed_at":"2022-08-24T07:30:46.341Z","dependency_job_id":null,"html_url":"https://github.com/streamcommon/coding-standard","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamcommon%2Fcoding-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamcommon%2Fcoding-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamcommon%2Fcoding-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamcommon%2Fcoding-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamcommon","download_url":"https://codeload.github.com/streamcommon/coding-standard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242973988,"owners_count":20215248,"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":["coding-standart","streamcommon"],"created_at":"2024-11-17T01:15:06.903Z","updated_at":"2026-03-09T19:45:34.488Z","avatar_url":"https://github.com/streamcommon.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# StreamCommon Team Coding Standard\n[![Latest Stable Version](https://poser.pugx.org/streamcommon/coding-standard/v/stable)](https://packagist.org/packages/streamcommon/coding-standard)\n[![Total Downloads](https://poser.pugx.org/streamcommon/coding-standard/downloads)](https://packagist.org/packages/streamcommon/coding-standard)\n[![License](https://poser.pugx.org/streamcommon/coding-standard/license)](./LICENSE)\n\n## Installation\n1. Install the module via composer:\n    * Console run:\n    ```console\n        composer require --dev streamcommon/coding-standard\n    ```\n    * Or add into your `composer.json`:\n    ```json\n        \"require-dev\": {\n            \"streamcommon/coding-standard\": \"*\"\n        }\n    ```\n2. Add composer scripts into your `composer.json`:\n   ```json\n        \"scripts\": {\n            \"cs-check\": \"phpcs\",\n            \"cs-fix\": \"phpcbf\"\n        }\n    ```\n3. Create file `phpcs.xml`:\n    ```xml\n        \u003c?xml version=\"1.0\"?\u003e\n            \u003cruleset name=\"StreamCommon Team Coding Standard\"\u003e\n            \u003crule ref=\"./vendor/streamcommon/coding-standard/ruleset.xml\"/\u003e\n            \u003cfile\u003ebin\u003c/file\u003e\n            \u003cfile\u003econfig\u003c/file\u003e\n            \u003cfile\u003elib\u003c/file\u003e\n            \u003cfile\u003esrc\u003c/file\u003e\n            \u003cfile\u003etest\u003c/file\u003e\n        \u003c/ruleset\u003e\n    ```\n## Usage\nRun: `composer cs-check` OR `composer cs-fix`\n\n## Customize\nSee https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamcommon%2Fcoding-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamcommon%2Fcoding-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamcommon%2Fcoding-standard/lists"}