//Model Function public function hasOneFunction(){ return $this->hasOne('AppModelsModelName', 'targetedId'); } //in controller function $data = ModelName::with('hasOneFunction')->get();