title: How to have different seeders per environments in Laravel 4?
body: <p>I have a simple question but I haven't found an answer in the web. Maybe my keywords are false.</p>
  
  <p>So I am developing an app in Laravel 4. And I need to seed the database with different values according to the current active environment.</p>
  
  <p>So for example, if I am on the <strong>local</strong> environment, I want to have test data and so on. But when I am on the <strong>production</strong> environment I only want to have an admin user.</p>
  
  <p>Does Laravel has an built in solution for that?</p>
  
  <p>If not, how can check, which environment is active in the <code>app/seeds/DatabaseSeeder.php</code> file. So I can call different seeder according to the environment.</p>