fix composer.json and example