Add composer example. Fix example code in README