{"id":21819347,"url":"https://github.com/dflydev/dflydev-php-coding-standards","last_synced_at":"2025-07-18T17:31:16.275Z","repository":{"id":152269262,"uuid":"617083756","full_name":"dflydev/dflydev-php-coding-standards","owner":"dflydev","description":"dflydev's PHP coding standards","archived":false,"fork":false,"pushed_at":"2024-07-23T23:38:31.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T04:14:00.881Z","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/dflydev.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":"2023-03-21T17:05:53.000Z","updated_at":"2025-02-01T09:06:22.000Z","dependencies_parsed_at":"2023-07-21T21:20:18.375Z","dependency_job_id":null,"html_url":"https://github.com/dflydev/dflydev-php-coding-standards","commit_stats":{"total_commits":6,"total_committers":3,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"d9185cc07c733e235588bb85a77c8e17610c8273"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dflydev/dflydev-php-coding-standards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-php-coding-standards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-php-coding-standards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-php-coding-standards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-php-coding-standards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflydev","download_url":"https://codeload.github.com/dflydev/dflydev-php-coding-standards/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-php-coding-standards/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265801662,"owners_count":23830451,"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":[],"created_at":"2024-11-27T16:18:35.122Z","updated_at":"2025-07-18T17:31:16.249Z","avatar_url":"https://github.com/dflydev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dragonfly PHP Coding Standards\n\n### Usage\n\n```bash\ncomposer require dflydev/php-coding-standards\n```\n\nCreate a new `.php-cs-fixer.dist.php` file and within it add the following:\n\n```php\nuse Ergebnis\\PhpCsFixer\\Config;\n\n$config = Config\\Factory::fromRuleSet(new Dflydev\\PhpCsFixer\\Config\\RuleSet\\Dflydev());\n\n$config-\u003egetFinder()-\u003ein(__DIR__);\n$config-\u003esetCacheFile(__DIR__ . '/.php-cs-fixer.cache');\n\nreturn $config;\n```\n\n### Configuration with override rules\n\n💡 Optionally override rules from a rule set by passing in an array of rules to be merged in:\n\n```php\nuse Ergebnis\\PhpCsFixer\\Config;\n\n$config = Config\\Factory::fromRuleSet(new Dflydev\\PhpCsFixer\\Config\\RuleSet\\Dflydev(), [\n    'mb_str_functions' =\u003e false,\n    'strict_comparison' =\u003e false,\n]);\n\n$config-\u003egetFinder()-\u003ein(__DIR__);\n$config-\u003esetCacheFile(__DIR__ . '/.php-cs-fixer.cache');\n\nreturn $config;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-php-coding-standards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflydev%2Fdflydev-php-coding-standards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-php-coding-standards/lists"}