add composer_require_once function