title: Is there a way to get all the relations and fields of particular model in laravel?
body: <p>I am trying to create a script that could help me generate a GraphQL schema with all fields and relations exist in the models.</p>
  <p>if I could get that, <a href="https://lighthouse-php.com/" rel="nofollow noreferrer">php-lighthouse</a> would help me for the rest of the work.</p>