API Platform #3267
Answered
by
GromNaN
masterbater
asked this question in
Q&A
API Platform
#3267
-
https://api-platform.com/docs/laravel/ Will this work in api platform? or do we need to use mongodb/odm for search |
Beta Was this translation helpful? Give feedback.
Answered by
GromNaN
Feb 7, 2025
Replies: 1 comment 1 reply
-
You can use a MongoDB Eloquent Model with API Platform, I did some tests and fixed an issue for that api-platform/core#6658. My mid-term plan is to create a MongoDB package for API platform, that would be agnostic of Eloquent or Doctrine, to unlock the full potential of the database. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
masterbater
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use a MongoDB Eloquent Model with API Platform, I did some tests and fixed an issue for that api-platform/core#6658.
But if you hit any problem, please raise an issue.
My mid-term plan is to create a MongoDB package for API platform, that would be agnostic of Eloquent or Doctrine, to unlock the full potential of the database.