Skip to content

Development

Rumen Damyanov edited this page Dec 4, 2026 · 1 revision

Development

composer install
composer quality

composer quality runs Pest, PHPStan at level 8, and PHPCS (PSR-12). CI runs the tests on PHP 8.3, 8.4, and 8.5, and uploads coverage from 8.4.

tests/fixtures/samples.json is shared with the Rust crate. Both packages assert the same basis-point rows for those samples.

The trigram tables in data/ come from public-domain UDHR translations. Regenerate them from the packages workspace with langid/tools/build_profiles.py.

Check the wiki pages with:

wiki/scripts/update-wiki.sh

--push publishes wiki/pages to the GitHub wiki. Turn the wiki on and create one page in the browser before the first push.

See Home.

Clone this wiki locally