Download the PHP package scotteuser/pinecone-php without Composer

On this page you can find all versions of the php package scotteuser/pinecone-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pinecone-php

Pinecone PHP

A beautiful, extendable PHP Package to communicate with your pinecone.io indices, collections and vectors, powered by Saloon.

Info From Version 1.x onwards we are using the latest Pinecone API which support serverless. If you need the legacy API please use a version before 1.0.0!

Introduction

This API provides a feature rich, elegant baseline for working with the pinecone.io API. Developers can install and leverage this API to help them integrate pinecone.io easily and beautifully.

Installation

composer require probots-io/pinecone-php

Features

Currently supports all of the available endpoints in the pinecone.io API based on the official documentation

Authentication

Authentication via Api Key is the only available authentication methods currently supported. First, you will need to create an Api Key in your pinecone.io instance.

Quick Start

There are two ways to initialize the SDK. You can either provide an index during initialization or you can provide it later on.

or

Info The index host should include https://, which you may need to prepend to the value returned from Pinecone.

Responses

All responses are returned as a Response object. Please check the Saloon documentation to see all available methods.

Control Pane

Index Operations

Work(s) with your indices.

Create Index (POD)

Pinecone Docs

Create Index (Serverless)

Pinecone Docs

Describe Index

Pinecone Docs

List Indices

Pinecone Docs

Configure Index

Pinecone Docs

Delete Index

Pinecone Docs

Collection Operations

Work(s) with your collections too.

Create Collection

Pinecone Docs

Describe Collection

Pinecone Docs

List Collections

Pinecone Docs

Delete Collections

Pinecone Docs

Data Pane

Info These operations need the index to be set. You can set the index during initialization or later on. See description at the beginning.

Vector Operations

Vectors are the basic unit of data in Pinecone. Use them.

Get Index Stats

Pinecone Docs

Update Vector

Pinecone Docs

Upsert Vectors

Pinecone Docs

Query Vectors

Pinecone Docs

Delete Vectors

Pinecone Docs

Fetch Vectors

Pinecone Docs

Testing

Testing is done via PestPHP. You can run the tests by running ./vendor/bin/pest in the root of the project. Copy .env.example to .env and update accordingly.

Credits

License

The MIT License (MIT). Please see License File for more information.

TODO - Submit PR if you want to contribute:


All versions of pinecone-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
saloonphp/saloon Version ^3.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package scotteuser/pinecone-php contains the following files

Loading the files please wait ....