config composer with repository