add composer api