Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Mariadb Vector

Laravel Mariadb Vector Laravel Package

devilsberg/laravel-mariadb-vector

MariaDB 11.7+ native vector storage and similarity search for Laravel. Adds a VECTOR column type, binary-safe Eloquent casts, and nearestNeighbors() query macros powered by VEC_DISTANCE functions — essentially pgvector, but for MariaDB.

View on GitHub
Deep Wiki
Context7

Laravel MariaDB Vector brings native vector storage and similarity search to Laravel, powered by MariaDB 11.7+'s VECTOR type and VEC_DISTANCE_* functions. It's the MariaDB equivalent of pgvector — with migration blueprints, binary-safe Eloquent casting, and query macros for ANN search.

  • vector() and vectorIndex() schema builders for migrations
  • VectorCast to store and retrieve float arrays transparently
  • nearestNeighbors() macro with cosine, euclidean, and dot-product distances
  • score column on results for ranking similarity (0–1)
  • Configurable, publishable config file

Requires PHP 8.4+, Laravel 12+, and MariaDB 11.7+.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route