添加middleware目录到composer