modified require in composer