add library definition for composer