Move common helpers to a separate composer package