title: How to generate latitude, longitude info using Faker from Laravel seeder?
body: <p>I am trying to use <a href="https://github.com/stympy/faker#fakeraddress" rel="noreferrer">Faker</a> in a Laravel seeder.</p>
  <p>Here is how my seeder class look like</p>
  <pre><code>&lt;?php
  
  use Illuminate\Database\Seeder;
  use Faker\Factory as Faker;
  
  class LatitudeLongitudeTestTableSeeder extends Seeder
  {
  
      public function run()
      {
          $faker = new Faker;
  
          $myTable = 'LatitudeLongitudeTest';
  
          foreach (range(1,10) as $index) {
              DB::table($myTable)-&gt;insert([
                  'Latitude' =&gt; $faker-&gt;Address-&gt;latitude,
                  'Longitude' =&gt; $faker-&gt;Address-&gt;longitude,
                  'name' =&gt; $faker-&gt;Address-&gt;street_name,
              ]);
          }
  
      }
  }
  </code></pre>
  <p>but this is giving me the following error</p>
  <blockquote>
  <p>[ErrorException]  Undefined property: Faker\Factory::$Address</p>
  </blockquote>
  <p>I also tried to access the longitude property like this <code>$faker-&gt;longitude</code> but that still did not work.</p>
  <p>How can I access the longitude property in faker to generate data?</p>