PHPackages                             juststeveking/neo4j-http-adapter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. juststeveking/neo4j-http-adapter

ActiveLibrary[HTTP &amp; Networking](/categories/http)

juststeveking/neo4j-http-adapter
================================

A slim psr compliant http client

v1.0(5y ago)22[2 PRs](https://github.com/JustSteveKing/neo4j-http-adapter/pulls)MITPHPPHP ^7.4

Since May 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/JustSteveKing/neo4j-http-adapter)[ Packagist](https://packagist.org/packages/juststeveking/neo4j-http-adapter)[ RSS](/packages/juststeveking-neo4j-http-adapter/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (9)Versions (4)Used By (0)

Neo4j Http Adapter
==================

[](#neo4j-http-adapter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/606a79d04e1074eebca9e0d82d82c55341a0adcbcd4a6c10ca014718961d7df4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a75737473746576656b696e672f6e656f346a2d687474702d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juststeveking/neo4j-http-adapter)[![run-tests](https://github.com/JustSteveKing/neo4j-http-adapter/workflows/run-tests/badge.svg)](https://github.com/JustSteveKing/neo4j-http-adapter/workflows/run-tests/badge.svg)[![Quality Score](https://camo.githubusercontent.com/de8ffbf58d09ed12e76ae09825537e35dadcd520fc089b91da56c5cdfda881c1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4a75737453746576654b696e672f6e656f346a2d687474702d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/JustSteveKing/neo4j-http-adapter)[![Total Downloads](https://camo.githubusercontent.com/70f1640e8c11ebd28fea7f16d72d0d31fc1c69f09bde95fa9a76e707cdf9a92b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a75737473746576656b696e672f6e656f346a2d687474702d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juststeveking/neo4j-http-adapter)

**This package is still a work in progress, what I have tested works so far but should not be used in a production environment yet**

The purpose of this package is to provide a clean and easy way to work with the neo4j HTTP API v4 to run Cypher queries and return data.

Installation
------------

[](#installation)

Using composer:

```
$ composer require juststeveking/neo4j-http-adapter
```

You are then free to use it as needed within your projects.

Usage
-----

[](#usage)

Using this library is relatively simple.

### Prepare your Adapter

[](#prepare-your-adapter)

The adapter build method accepts 2 parameters, connection string for your neo4j database and a database name that may be null.

Please note that an Exception will be thrown if your connection string does not start with either `http` or `https`

```
