Post #3316743
2026-06-13 15:03 UTC
There have been attempts at porting the likes of Eloquent (Laravel's built-in ORM) into WordPress with varying success but nothing beats writing your own SQL queries as long as you know what you're doing.
Replies (1)
-
@ramsey@phpc.social 2026-06-14 13:23
@alda@topspicy.social It might be easier to use Doctrine, though not having worked with WordPress code in many, many years, I have no idea what the lay of the land looks like. I’ve tried using Eloquent in non-Laravel projects, and it doesn’t work as well without the whole Laravel ecosystem.