[fix refactor] Use composer-api.
[dist doc] Added travis-ci config and status badge.