improve composer support
more friendly sample