Full API docs available here: http://unikent.github.io/lib-php-classmark/
PHP library for helping developers with classmarks
Add this to your composer require:
- "unikent/lib-php-classmark": "dev-master"
Then compare classmarks like so:
$parser = new \unikent\Classmark\Classmark();
$classmark = new \unikent\Classmark\Classmark("C900x");
$classmark2 = new \unikent\Classmark\Classmark("C800x");
if ($classmark.compareTo(classmark2)) {
echo "Well done!";
}