{"id":17226801,"url":"https://github.com/dantleech/gherkin-lint-php","last_synced_at":"2026-03-05T09:33:19.420Z","repository":{"id":38031228,"uuid":"506356171","full_name":"dantleech/gherkin-lint-php","owner":"dantleech","description":"PHP Gherkin Linter","archived":false,"fork":false,"pushed_at":"2024-06-08T10:13:47.000Z","size":172,"stargazers_count":45,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T12:47:35.872Z","etag":null,"topics":["behat","gherkin","linter","php"],"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/dantleech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-06-22T18:07:14.000Z","updated_at":"2025-01-03T11:59:54.000Z","dependencies_parsed_at":"2024-05-20T15:52:29.409Z","dependency_job_id":null,"html_url":"https://github.com/dantleech/gherkin-lint-php","commit_stats":{"total_commits":129,"total_committers":3,"mean_commits":43.0,"dds":"0.023255813953488413","last_synced_commit":"b442408ff39cf9a08063cd84f9923e7b956e8d54"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dantleech/gherkin-lint-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantleech%2Fgherkin-lint-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantleech%2Fgherkin-lint-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantleech%2Fgherkin-lint-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantleech%2Fgherkin-lint-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dantleech","download_url":"https://codeload.github.com/dantleech/gherkin-lint-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantleech%2Fgherkin-lint-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30117720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"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":["behat","gherkin","linter","php"],"created_at":"2024-10-15T04:17:16.224Z","updated_at":"2026-03-05T09:33:19.386Z","avatar_url":"https://github.com/dantleech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gherkin Lint for PHP\n====================\n\nThis package provides a Gherkin linter for PHP heavily inspired by\n[vsiakka/gherkin-lint](https://github.com/vsiakka/gherkin-lint) and using the\n[PHP Gherkin Parser](https://packagist.org/packages/cucumber/gherkin).\n\nContents\n--------\n\n- [Usage](#usage)\n- [Configuration](#configuration)\n- [Rules](docs/rules.md)\n- [Disabling Rules](#disabling-rules)\n\nUsage\n-----\n\n\u003e **NOTE**: Gherkin Lint requires PHP 8.1\n\nInstall with Composer:\n\n```\n$ composer require --dev dantleech/gherkin-lint\n```\n\nLint your feature files:\n\n```\n$ ./vendor/bin/gherkinlint lint features/\n```\n\n![image](https://user-images.githubusercontent.com/530801/175784302-398ca341-ae67-4b63-8b8d-b7e705286ab3.png)\n\n\nTo see the available and enabled rules run:\n\n```\n$ ./vendor/bin/gherkinlint rules\n```\n\n![image](https://user-images.githubusercontent.com/530801/175804779-0fe10523-c410-4545-b564-c23e896b2133.png)\n\nConfiguration\n-------------\n\nBy default all rules are enabled. In order to customise or disable them create\na config file `gherkinlint.json`:\n\n```\n{\n    \"rules\": {\n        \"allowed-tags\": {\n            \"allow\": [\"@my-special-tag\", \"@my-other-tag\"]\n        },\n        \"filename\": {\n            \"enabled\": false\n        }\n    }\n}\n```\n\nUse the `rules` command to see which rules are enabled.\n\nDisabling Rules\n---------------\n\nRules can be disabled by adding a comment before the Feature declaration:\n\n```gherkin\n# @gherkinlint-disable-rule keyword-order\nFeature: My feature with strange keyword orders\n```\n\nDisable multiple rules with comma separation:\n\n```gherkin\n# @gherkinlint-disable-rule keyword-order, someother-rule\nFeature: My feature with strange keyword orders\n```\n\nContributing\n------------\n\nMake a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantleech%2Fgherkin-lint-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdantleech%2Fgherkin-lint-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantleech%2Fgherkin-lint-php/lists"}