How to return multiple relationships with Laravel Eloquent?
<p>I have a table called <code>users</code>. Each of these users has different things:</p>

<ul>
<li>country</li>
<li>device</li>
<li>computer</li>
<li>category</li>
</ul>

<p>I have created a table for each of these above 'things'. Similar the following:</p>

<pre><code>1 | United States
2 | United Kingdom
3 | Australia
4 | Canada
5 | Italy
</code></pre>

<p>etc...</p>

<p>I'm storing these values in the users table as follows:</p>

<pre><code>ID | Country | Device | Computer | Category |
---|---------|--------|----------|----------|
1  |       3 |      2 |        6 |        2 |
2  |       4 |      3 |        9 |        1 |
</code></pre>

<p>etc...</p>

<p>Now each of the above numbers are associated with the corresponding table's ID.</p>

<p>What I want is do an Eloquent Query and search for all the <code>users</code> and 'replacing' their corresponding values from their helper table.</p>

<p>I was thinking about doing a <code>hasOne()</code> Eloquent relationship for each of those things in the <code>users</code> table, but then I'm not sure how to get/call them at once.</p>

<p>Anyone can help me tacke this issue?</p>