Download the PHP package qryma-ai/qryma-php without Composer

On this page you can find all versions of the php package qryma-ai/qryma-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 qryma-php

Qryma PHP SDK

A PHP SDK for the Qryma Search API, providing a simple and intuitive interface for accessing Qryma's powerful search capabilities.

Table of Contents

Installation

You can install the Qryma PHP SDK using Composer:

Quick Start

Usage Examples

Basic Search

Search with All Parameters

Using SearchOptions Object

For more control, you can use the SearchOptions class directly:

Custom Configuration

You can specify additional configuration options:

API Response Format

The search() method returns the raw API response in the following format:

Field descriptions:

API Reference

qryma($config)

Factory function to create a Qryma client instance.

Parameters:

Returns:

QrymaClient::search($query, $options = [])

Perform a search with the given query and return the raw API response.

Parameters:

Returns:

Alternative: Using QrymaClient class directly

If you prefer, you can still use the class directly:

Configuration

Environment Variables

You can configure the API key using environment variables:

Then in your code:

Error Handling

The SDK raises exceptions for API errors:

Common error conditions:

Testing

The SDK includes a simple test file. To run the test:

  1. First, replace the placeholder API key in tests/TestSearch.php with your actual API key
  2. Then run the test:

Contributing

Contributions are welcome! Please see our contributing guide for more information.

License

MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions, please:

  1. Check the documentation
  2. Open an issue on GitHub
  3. Contact support at [email protected]

Changelog

1.0.0


All versions of qryma-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.0
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 qryma-ai/qryma-php contains the following files

Loading the files please wait ...