optimize require_once for composer