Update composer snippet to use tag and removed requires from examples since with
composer autoloading it's unnecessary