Download the PHP package neo4j-php/query-api without Composer

On this page you can find all versions of the php package neo4j-php/query-api. 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 query-api

Neo4j Query API client

License Version Codacy Badge codecov Packagist Downloads

Interact programmatically with Top Graph Technology

Installation

You can install the package via Composer:

Client Installation

This client uses the HTTP protocol, make sure you have psr-7, psr-17, and psr-18 implementations included in your project. If you don't have any, you can install one of the many options via Composer:

NOTE: PSR-17 and PSR-18 are essential for HTTP client communication. Other compatible clients like Guzzle can also be used. * PSR auto-discovery will detect the installed HTTP client automatically.

Usage

Connecting to Neo4j

Running a Query

Transactions

Begin a Transaction

Run a Query in a Transaction

Commit a Transaction

Rollback a Transaction

Testing

To run the tests, execute the following command:

Cypher values and types map to these php types and classes:

Cypher PHP
List
Integer
Float
Boolean
Null
String
Array
Local DateTime (will be upgraded in version 1.1)
Local Time (will be upgraded in version 1.1)
Zoned DateTime (will be upgraded in version 1.1)
Zoned Time (will be upgraded in version 1.1)
Duration (will be upgraded in version 1.1)
WGS 84 2D Point Neo4j\QueryAPI\Objects\Point
WGS 84 3D Point Neo4j\QueryAPI\Objects\Point
Cartesian 2D Point Neo4j\QueryAPI\Objects\Point
Cartesian 3D Point Neo4j\QueryAPI\Objects\Point
Map
Node
Relationship
Path

Diving deeper:

Feature Supported?
Authentication Yes
Transaction Yes
HTTP Yes
Cluster Partly *
Aura Yes
Bookmarks Yes
Bolt No

* Client side routing is only supported in the Neo4j driver

NOTE: It supports neo4j databases versions > 5.25 or Neo4j Aura (which has QueryAPI enabled.)

Contributing

Please see CONTRIBUTING.md for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

License

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


All versions of query-api with dependencies

PHP Build Version
Package Version
Requires psr/http-client Version ^1.0
ext-json Version *
php Version ^8.1
php-http/discovery Version ^1.17
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 neo4j-php/query-api contains the following files

Loading the files please wait ...