Hello,
phpdocx checks tidy using this line:
if(!extension_loaded('tidy')){
and check.php using this line:
class_exists('Tidy')
But we see you are running check.php through PHP CLI mode and the library through a web browser (using Laravel). Maybe you have enabled Tidy for PHP CLI but not for the web server?, you may need to restart the web server (PHP CLI mode doesn't need to restart any web server to refresh PHP modules) Please test check.php using a web browser too.
Regards.