title: Return value if exists in laravel
body: <p>I'm trying to get data with firstOrFail() to getting data with eloquent laravel. but facing an issue, when i'm trying to fetch the data is not exist then it will return me model exception. How can i make it into return data if the data is exist while return null or "" if the value or field doesn't exist. I tried to add the following but it will lead the page into total blank. </p>
  
  <p>(global.php)</p>
  
  <pre><code>use Illuminate\Database\Eloquent\ModelNotFoundException;
  
  App::error(function(ModelNotFoundException $e)
  {
      // return Response::make('Not Found', 404);
      return "";
  });
  </code></pre>