PHPackages                             malukenho/kawaii-gherkin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. malukenho/kawaii-gherkin

ActiveLibrary[Testing &amp; Quality](/categories/testing)

malukenho/kawaii-gherkin
========================

A small library to check and fix annoying gherkin code style

1.0.0(2y ago)49100.6k7[3 issues](https://github.com/malukenho/kawaii-gherkin/issues)[3 PRs](https://github.com/malukenho/kawaii-gherkin/pulls)1MITPHPPHP ^8.0CI passing

Since Feb 1Pushed 2y ago4 watchersCompare

[ Source](https://github.com/malukenho/kawaii-gherkin)[ Packagist](https://packagist.org/packages/malukenho/kawaii-gherkin)[ Docs](https://github.com/malukenho/kawaii-gherkin)[ RSS](/packages/malukenho-kawaii-gherkin/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (5)Versions (12)Used By (1)

Kawaii Gherkin
==============

[](#kawaii-gherkin)

[![Latest Stable Version](https://camo.githubusercontent.com/63b61c07d8a8b87d8acf6e9f136bd1615ce593879eeade4e4b48fc8ab4e13598/68747470733a2f2f706f7365722e707567782e6f72672f6d616c756b656e686f2f6b61776169692d676865726b696e2f762f737461626c65)](https://packagist.org/packages/malukenho/kawaii-gherkin)[![Total Downloads](https://camo.githubusercontent.com/70d0c35c97afffc2ff4920aaddba070118404e645bd67e029f8b510f51f630f0/68747470733a2f2f706f7365722e707567782e6f72672f6d616c756b656e686f2f6b61776169692d676865726b696e2f646f776e6c6f616473)](https://packagist.org/packages/malukenho/kawaii-gherkin)[![Latest Unstable Version](https://camo.githubusercontent.com/1593ee19187682b67bffe4db4cc3e64de8ccb1bafb17ac447b02b9bd426e83ac/68747470733a2f2f706f7365722e707567782e6f72672f6d616c756b656e686f2f6b61776169692d676865726b696e2f762f756e737461626c65)](https://packagist.org/packages/malukenho/kawaii-gherkin)[![License](https://camo.githubusercontent.com/8274df9ef37294a82a25213494c92098faeb89cbc4445559a8d73c5ec147b24f/68747470733a2f2f706f7365722e707567782e6f72672f6d616c756b656e686f2f6b61776169692d676865726b696e2f6c6963656e7365)](https://packagist.org/packages/malukenho/kawaii-gherkin)

**Kawaii Gherkin** is a small tool to fix and verify gherkin code style.

### Installing

[](#installing)

```
$ composer require --dev malukenho/kawaii-gherkin
```

### Analyzing code

[](#analyzing-code)

To analyze code style, simple run:

```
$ vendor/bin/kawaii gherkin:check [--align [right|left]]
```

### Fixing code

[](#fixing-code)

To fix code style, simple run:

```
$ vendor/bin/kawaii gherkin:fix [--align [right|left]]
```

Example
=======

[](#example)

### Before

[](#before)

```
 @users

                        @another-feature
            @kawaii
     Feature: User registration
            In order to order products
               As a visitor
            I need to be able to create an account in the store

            Background: Nice Background
                      Given store has default configuration
              And there are following users:
                      | email       | password |
                          | bar@bar.com | foo1sasdasdasdadsasd     |
             And the following customers exist:
                         | email              |
                 | customer@email.com |
             And the following zones are defined:
                        | name         | type    | members |
                         | Poland       | country | Poland  |
             And the following orders exist:
                 | customer                | address                                        |
                 | customer@email.com      | Jan Kowalski, Wawel 5 , 31-001, Kraków, Poland |
```

### After

[](#after)

```
@users @another-feature @kawaii
Feature: User registration
    In order to order products
    As a visitor
    I need to be able to create an account in the store

    Background: Nice Background
        Given store has default configuration
          And there are following users:
            | email       | password             |
            | bar@bar.com | foo1sasdasdasdadsasd |
          And the following customers exist:
            | email              |
            | customer@email.com |
          And the following zones are defined:
            | name   | type    | members |
            | Poland | country | Poland  |
          And the following orders exist:
            | customer           | address                                        |
            | customer@email.com | Jan Kowalski, Wawel 5 , 31-001, Kraków, Poland |
```

### Author

[](#author)

- Jefersson Nathan ([@malukenho](http://github.com/malukenho))

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~512 days

Recently: every ~767 days

Total

7

Last Release

731d ago

Major Versions

0.1.3 → 1.0.x-dev2020-11-07

0.1.4 → 1.0.02024-07-03

PHP version history (3 changes)0.1.0PHP ~5.5|^7.0

1.0.x-devPHP ~8.0

0.1.4PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7140a8c7b834b07674c6bd74d6cb75792522ceba17dfb1f347489083a0ba1c48?d=identicon)[malukenho](/maintainers/malukenho)

---

Top Contributors

[![malukenho](https://avatars.githubusercontent.com/u/3275172?v=4)](https://github.com/malukenho "malukenho (10 commits)")[![airtonzanon](https://avatars.githubusercontent.com/u/6540546?v=4)](https://github.com/airtonzanon "airtonzanon (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![loic425](https://avatars.githubusercontent.com/u/8329789?v=4)](https://github.com/loic425 "loic425 (1 commits)")[![michalmarcinkowski](https://avatars.githubusercontent.com/u/7572437?v=4)](https://github.com/michalmarcinkowski "michalmarcinkowski (1 commits)")[![tifabien](https://avatars.githubusercontent.com/u/705356?v=4)](https://github.com/tifabien "tifabien (1 commits)")

---

Tags

Code stylegherkincode standard

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/malukenho-kawaii-gherkin/health.svg)

```
[![Health](https://phpackages.com/badges/malukenho-kawaii-gherkin/health.svg)](https://phpackages.com/packages/malukenho-kawaii-gherkin)
```

###  Alternatives

[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k28.9M2.4k](/packages/infection-infection)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.3k](/packages/friendsofphp-php-cs-fixer)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k101.8M2.2k](/packages/behat-behat)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
