I am a newbie when it comes to Laravel. I have been searching for ways to define my foreign keys, instead of defining them in the migrations. I have been asking around and googeling a lot and everyone says that you can do it in different ways. Some people say to just do it in the migrations and some people say it is possible to JUST define the foreign keys via the eloquent models.
Now my question is. Which way is the most effective and optimal way for me to have relations between my different laravel tables. Foreign keys via migrations, or are there any other good ways to do it? Like I said I am confused due to all the different answers. I have of course checked Laravel 4.2's documentation!