Make composer package name valid