Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

neeravp's avatar

neeravp liked a comment+100 XP

3mos ago

AI Powers with Laravel: Vector Databases

I'm embarking on an adventurous journey to build an AI application and I'm eager to dive into the world of Laravel and vector databases. My goal? To unlock the potential of what these technologies can offer.

I've discovered that Postgres can handle vector databases through an extension called PGvector. Given that Laravel supports Postgres, this seems like a seamless and logical pathway to integrate vectors within Laravel.

Recently, I stumbled upon Larachain. It's caught my attention, but I'm pondering if it's the best starting point for my AI ambitions. Alternatively, I'm considering the PHPopenai package. Which of these would be more suitable for a beginner in this domain?

I'm also curious to know if there are other self-hosted vector databases that are compatible with Laravel. Any recommendations?

And lastly, I'm all ears for any suggestions on resources, tools, or courses that can assist me in this exciting AI venture with Laravel.

Looking forward to your insights and tips!