#Using third party APIs for a model like Eloquent

4 messages · Page 1 of 1 (latest)

raven vigil
#

Is there a package that implements API data access like Eloquent?

Example:
We have two systems, A and B. System A has a table "posts" and has an API resource implementation. Is there a package that implements this integration to be used in B to access this "posts" API like Eloquent Model?

In B, want to write the access to A like:

Post::where('title', 'Post Title')->where('published_at', '2022-02-03')->get();
crimson obsidian
raven vigil
crimson obsidian