$model_name = 'AppModelUser'; $model_name::where('id', $id)->first(); $model = $this->model_name; $model::where('id', $id)->first();