adding instructions for installation via composer and updating the examples to match