File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33[ pgvector] ( https://github.com/pgvector/pgvector ) support for PHP
44
5+ Supports [ Laravel] ( https://github.com/laravel/laravel ) and [ PgSql] ( https://www.php.net/manual/en/book.pgsql.php )
6+
57[ ![ Build Status] ( https://github.com/pgvector/pgvector-php/actions/workflows/build.yml/badge.svg )] ( https://github.com/pgvector/pgvector-php/actions )
68
79## Getting Started
810
911Follow the instructions for your database library:
1012
1113- [ Laravel] ( #laravel )
12- - [ PHP ] ( #php )
14+ - [ PgSql ] ( #pgsql )
1315
1416Or check out some examples:
1517
@@ -106,7 +108,7 @@ public function down()
106108
107109Use ` vector_ip_ops ` for inner product and ` vector_cosine_ops ` for cosine distance
108110
109- ### PHP
111+ ### PgSql
110112
111113Enable the extension
112114
Original file line number Diff line number Diff line change 66use Pgvector \SparseVector ;
77use Pgvector \Vector ;
88
9- final class PhpTest extends TestCase
9+ final class PgSqlTest extends TestCase
1010{
1111 public function testWorks ()
1212 {
You can’t perform that action at this time.
0 commit comments