have a look at sushi
https://github.com/calebporzio/sushi
you could perhaps pull in the data into an array in sushi and then access it like an eloquent collection
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is Laravel even capable of handling microservices?
long question short; I was wondering if Laravel Eloquent model can fetch data from a remote API gateway other than a direct database connection setup in the config file, and still maintain the eloquent model capability, like m->get(), m->all(), m->where(), etc.... If you care about more details, please read the following detailed explanation.
Architecture setup:
QUESTION: how to have the eloquent model file use external API as data source and fetch data via http(s) request and still maintain its functionalities?
Please or to participate in this conversation.