Class not found error in laravel for 3rd party library

If you encounter the error like

Class 'Hikarine3\CommonWebFunction' not found

you should type

composer dumpautoload

and should check

vendor/composer/autload_classmap.php

If you cannot find the class name, then something is wrong in your composer.json, so you should check.