Skip to content
Discussion options

You must be logged in to vote

You should be able to do that using Sushi, yes - https://github.com/calebporzio/sushi . It allows you to create "Eloquent Models" out of arrays. And if you populate those arrays from your API - boom, you have what you asked for, Eloquent models that work with your API instead of your DB 😉 Then just use those Models in Backpack normally.

We do that in our DevTools addon and it works very well. Not all Eloquent features are supported (obviously!) but most of the common ones are.

Hope it helps!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by promatik
Comment options

You must be logged in to vote
1 reply
@tabacitu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants