Laravel: Get not related items in a many to many relation
<p>Is it possible to get all items not related to the specific instance, in a many to many relation in Laravel?</p>

<p>Example: </p>

<p>I have two models, <code>User</code> and <code>Pet</code>. They have a many to many relationship, because a User can have many pets, but a pet can belong to more users.</p>

<p>But I want a list of pets, which a specific user is not having.</p>

<p>How is that possible?</p>

<p>EDIT
The above is just an example, so not related to my current task. Just more simple to explain with users and pets. But to specify: </p>

<pre><code>PETS TABLE:
ID TYPE
1  Dog
2  Cat
3  Rabit
4  Horse
5  Rat
6  Bat
7  Bird

USERS TABLE:
ID NAME
1  Martin
2  Peter
3  Viggo

PET_USER TABLE:
ID PET USER
1  1   1
2  3   1
3  5   1
</code></pre>

<p>Then Martin has a dog, a rabbit and a rat.</p>

<p>But I want a list of pets, that he does not have:
Cat, horse, bat and bird</p>