{"id":23954454,"url":"https://github.com/fox91/php-coding-standard","last_synced_at":"2026-01-12T09:19:49.069Z","repository":{"id":36983500,"uuid":"363168053","full_name":"fox91/php-coding-standard","owner":"fox91","description":" fox91 PHP Coding Standards ","archived":false,"fork":false,"pushed_at":"2025-12-15T02:01:16.000Z","size":191,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T23:47:19.314Z","etag":null,"topics":["php","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/fox91.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-30T14:36:03.000Z","updated_at":"2025-12-08T13:15:50.000Z","dependencies_parsed_at":"2023-11-23T07:31:47.109Z","dependency_job_id":"ac4e1364-53fa-4246-b78c-e32d81f5baab","html_url":"https://github.com/fox91/php-coding-standard","commit_stats":{"total_commits":55,"total_committers":2,"mean_commits":27.5,"dds":"0.49090909090909096","last_synced_commit":"040a4e2ce27a6a3911428949150dde857aa79fff"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/fox91/php-coding-standard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox91%2Fphp-coding-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox91%2Fphp-coding-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox91%2Fphp-coding-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox91%2Fphp-coding-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fox91","download_url":"https://codeload.github.com/fox91/php-coding-standard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fox91%2Fphp-coding-standard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["php","phpcs-standard"],"created_at":"2025-01-06T15:00:58.467Z","updated_at":"2026-01-12T09:19:44.060Z","avatar_url":"https://github.com/fox91.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# fox91 PHP Coding Standards\n\n[![Latest version](https://img.shields.io/packagist/v/fox91/coding-standard.svg?colorB=007EC6)](https://packagist.org/packages/fox91/coding-standard)\n[![Downloads](https://img.shields.io/packagist/dt/fox91/coding-standard.svg?colorB=007EC6)](https://packagist.org/packages/fox91/coding-standard)\n[![Build status](https://github.com/fox91/php-coding-standard/workflows/php-ci/badge.svg?branch=main)](https://github.com/fox91/php-coding-standard/actions?query=workflow%3Aphp-ci+branch%3Amain)\n\nCompatible with PHP `7.4`, `8.0`, `8.1`, `8.2`, `8.3` and `8.4`.\n\n## Included tools\n\n- [PHP_CodeSniffer](https://packagist.org/packages/squizlabs/php_codesniffer)\n    + [`dealerdirect/phpcodesniffer-composer-installer`](https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer): PHP_CodeSniffer Standards Composer Installer\n    + [`pheromone/phpcs-security-audit`](https://packagist.org/packages/pheromone/phpcs-security-audit): finds vulnerabilities and weaknesses related to security\n    + [`sirbrillig/phpcs-import-detection`](https://packagist.org/packages/sirbrillig/phpcs-import-detection): look for unused or unimported symbols\n    + [`sirbrillig/phpcs-variable-analysis`](https://packagist.org/packages/sirbrillig/phpcs-variable-analysis): detect problems with variables\n    + [`slevomat/coding-standard`](https://packagist.org/packages/slevomat/coding-standard): complements Consistence Coding Standard by providing sniffs with additional checks\n    + [`phpcompatibility/php-compatibility`](https://packagist.org/packages/phpcompatibility/php-compatibility): checks for PHP cross-version compatibility\n\n## Optional tools\n\n- [`pheromone/phpcs-security-audit`](https://packagist.org/packages/pheromone/phpcs-security-audit): finds vulnerabilities and weaknesses related to security in PHP code\n\n## Installation\n\n```bsh\ncomposer require --dev fox91/coding-standard\n```\n\nCreate a file named `.phpcs.xml.dist` in the root of your project:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cruleset\u003e\n    \u003c!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset --\u003e\n    \u003c!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage --\u003e\n\n    \u003carg name=\"extensions\" value=\"php\"/\u003e\n    \u003carg name=\"tab-width\" value=\"4\"/\u003e\n    \u003carg name=\"basepath\" value=\".\"/\u003e\n    \u003carg name=\"parallel\" value=\"80\"/\u003e\n    \u003carg name=\"report\" value=\"full\"/\u003e\n    \u003carg name=\"cache\" value=\".phpcs.cache\"/\u003e\n\n    \u003carg value=\"s\"/\u003e\n\n    \u003cfile\u003esrc\u003c/file\u003e\n    \u003cfile\u003etests\u003c/file\u003e\n\n    \u003cconfig name=\"ignore_warnings_on_exit\" value=\"1\"/\u003e\n    \u003cconfig name=\"ParanoiaMode\" value=\"1\"/\u003e\n\n    \u003c!-- PHPCompatibility config --\u003e\n    \u003c!-- \u003cconfig name=\"testVersion\" value=\"7.4\"/\u003e --\u003e\n\n    \u003crule ref=\"Fox91CodingStandard\"/\u003e\n    \u003c!-- \u003crule ref=\"Fox91CodingStandardStrict\"/\u003e --\u003e\n\u003c/ruleset\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffox91%2Fphp-coding-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffox91%2Fphp-coding-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffox91%2Fphp-coding-standard/lists"}