This library could take advantage of some of the goodies in PHP 8 by dropping support for PHP 7. You could tag this as version 1 (for BC), then use rector to refactor and take advantage of better type-hinting, return types, etc.