Skip to content

One library, two languages

Small, safe helpers for messy data.

CommonKit reads, cleans, validates and converts the values that reach an application: a name from a form, an amount from a payload, a date from a database. It hands back clean, checked ones, without ever crashing. Pick your language.


  • Version 1.4.0 .NET 9, 10 and 11 11,500+ tests

    18 classes, 392 public methods, 105 of them validators: readers, masks and conversions for every value that reaches a .NET application, typed for the column it goes to.

    Open the C# documentation


  • Version 1.0.0 PHP 8.2 or newer 12,900+ tests

    17 classes, 365 public methods, 99 of them validators: the same readers, masks and conversions for PHP, with the request read for you under Laravel, Joomla! and WordPress.

    Open the PHP documentation