PHPackages                             chukka-wp/chukka-spec - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. chukka-wp/chukka-spec

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

chukka-wp/chukka-spec
=====================

Open standard and PHP package for water polo match data

v0.2.1(2mo ago)078↓90.9%MITPHPPHP ^8.3

Since Apr 1Pushed 2mo agoCompare

[ Source](https://github.com/chukka-wp/spec)[ Packagist](https://packagist.org/packages/chukka-wp/chukka-spec)[ Docs](https://github.com/chukka-wp/chukka-spec)[ RSS](/packages/chukka-wp-chukka-spec/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (4)Dependencies (14)Versions (5)Used By (0)

Chukka Spec
===========

[](#chukka-spec)

Open data standard for water polo match representation. Provides Eloquent models, migrations, event types, payload validation, game state computation, and correction handling.

This is the foundation package used by all other [Chukka](https://github.com/chukka-wp/chukka) components.

Features
--------

[](#features)

- Eloquent models: Club, Team, Player, Match, RosterEntry, Event, RuleSet
- `GameStateService` — computes full match state from event log
- `EventDispatcher` — validates and persists match events
- `CorrectionService` — void and replace events without deletion
- Bundled rule sets (FINA 2025 defaults, configurable per competition)
- Database migrations and seeders

Installation
------------

[](#installation)

```
composer require chukka-wp/chukka-spec
```

Usage
-----

[](#usage)

Publish migrations:

```
php artisan vendor:publish --tag=chukka-spec-migrations
```

Configure model overrides in `config/chukka-spec.php`:

```
return [
    'models' => [
        'club' => \App\Models\Club::class,
        'match' => \App\Models\MatchModel::class,
        // ...
    ],
];
```

License
-------

[](#license)

[MIT License](LICENSE.md)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance84

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

4

Last Release

87d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2ea2e401c2f1f18cafc42d8fb98305ae3575db1fb25455af1c3156d0e79f90e?d=identicon)[wojt-janowski](/maintainers/wojt-janowski)

---

Top Contributors

[![wojt-janowski](https://avatars.githubusercontent.com/u/209190810?v=4)](https://github.com/wojt-janowski "wojt-janowski (8 commits)")

---

Tags

scoringwater-polochukkamatch-data

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/chukka-wp-chukka-spec/health.svg)

```
[![Health](https://phpackages.com/badges/chukka-wp-chukka-spec/health.svg)](https://phpackages.com/packages/chukka-wp-chukka-spec)
```

###  Alternatives

[livewire/livewire

A front-end framework for Laravel.

23.6k89.0M2.6k](/packages/livewire-livewire)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M342](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M23](/packages/yajra-laravel-oci8)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M157](/packages/spatie-laravel-health)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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