Composer integration

Same code but Composer friendly.