I have a simple question but I haven't found an answer in the web. Maybe my keywords are false.
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.
So for example, if I am on the local environment, I want to have test data and so on. But when I am on the production environment I only want to have an admin user.
Does Laravel has an built in solution for that?
If not, how can check, which environment is active in the app/seeds/DatabaseSeeder.php
file. So I can call different seeder according to the environment.