title: Using Laravel with microservices: Is it possible to use eloquent without a database?
body: <p>We're using a microservice architecture. There are 2 sets of data for the laravel service: </p>
  
  <ul>
  <li>The database that houses the admins. </li>
  <li>And all the other data that admins can access, which comes via GRPC
  calls to other services.</li>
  </ul>
  
  <p>I want something like eloquent (maybe <a href="https://laravel.com/docs/7.x/eloquent-resources" rel="nofollow noreferrer">API Resource</a>?) for structuring data/relationships, but instead of making Database-queries to load data, it needs to make GRPC calls to other services. I was thinking of making a custom class that extends off of eloquent and overloading the protected functions that make calls to the database, but that sounds like a recipe for a bad time. If anybody has experience doing what I'm describing, what direction did you go? What worked? what didn't?</p>