title: Mysql query to proper Laravel $query
body: <p>I have this logic query that doesn't work because I need to Join like 4 different tables, which is insane but please help me out, I will find a better way in the future.</p>
  
  <pre><code>select * from approvals
      where approvable_type = 
          (select model from permission_configs
              where variable = (
                  select permission_slug from role_permission
                      where role_id = (
                          select role_id from role_user 
                              where user_id = approvals.user_id) ) )
  </code></pre>
  
  <p>Please give me the above query in Eloquent with multiple join! I will forever be grateful to you.</p>