updated to PSR-4 and logger version
updated readme link
updated lock file
added PHP requirement version in composer
updated example hook to be cleaner