Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Neo4J Http Adapter

Neo4J Http Adapter Laravel Package

juststeveking/neo4j-http-adapter

A Laravel/PHP package that provides an HTTP-based adapter for Neo4j, letting your application send Cypher queries and manage graph data over Neo4j's HTTP API instead of a Bolt connection. Useful when HTTP access fits your deployment or hosting setup.

View on GitHub
Deep Wiki
Context7

A slim psr compliant http client

Frequently asked questions about Neo4J Http Adapter
What is juststeveking/neo4j-http-adapter used for?
It is a Laravel/PHP package that provides an HTTP-based adapter for Neo4j, so your application can send Cypher queries and manage graph data through Neo4j's HTTP API. It is useful when HTTP access fits your deployment or hosting setup instead of a Bolt connection. The package describes itself as a slim PSR-compliant HTTP client.
How do I install juststeveking/neo4j-http-adapter in a Laravel app?
Install it with Composer by running composer require juststeveking/neo4j-http-adapter. In Laravel, complete any package discovery or configuration steps documented in the repository, and publish config only if the package provides it. Then add your Neo4j HTTP connection settings before sending queries.
Does this package use Neo4j Bolt or the Neo4j HTTP API?
This package uses Neo4j's HTTP API rather than a Bolt connection. That makes it a fit for environments where HTTP access is preferred or easier to allow through hosting and network rules. It is not a Bolt driver, so transaction and connection behavior will differ from Bolt-based clients.
How do I send a Cypher query with the Neo4j HTTP adapter?
You send Cypher statements through the adapter, which handles the HTTP request and response with Neo4j's HTTP endpoint. The exact method names and response objects are defined by the package, so check its readme or source for the query API. Keep your Cypher parameterized and pass values through the adapter's parameters rather than string concatenation.
Is juststeveking/neo4j-http-adapter PSR compliant?
The package is described as a slim PSR-compliant HTTP client, so it follows PSR HTTP message conventions. That helps in PSR-oriented PHP applications and Laravel projects that already use PSR HTTP abstractions. Confirm the exact PSR interfaces and client injection points in the source before relying on a specific PSR version.
Which Laravel versions does juststeveking/neo4j-http-adapter support?
The provided overview identifies it as a Laravel/PHP package but does not list a specific Laravel version range. Check the repository's composer.json for its illuminate/support or laravel/framework constraints and PHP version requirements. Match those constraints to your app before installing.
How do I configure Neo4j HTTP credentials for this adapter in Laravel?
Configure the Neo4j HTTP endpoint and authentication details your deployment requires, such as the base URL, port, username, and password. In Laravel, keep these values in environment variables and reference them from config files rather than hard-coding credentials. Follow the package's documented config keys if it provides a config file.
Can I use neo4j-http-adapter in plain PHP without Laravel?
Yes, it is a PHP package and its HTTP-client approach is not inherently tied to Laravel. You can use it in plain PHP by wiring up configuration and any PSR HTTP client dependencies yourself. Laravel integration mainly adds convenience around configuration and service container resolution.
How should I test code that uses the Neo4j HTTP adapter?
Unit-test your query-building and response-handling code by faking HTTP responses or injecting a test PSR HTTP client, depending on the adapter's API. Use integration tests against a real Neo4j HTTP endpoint for Cypher correctness and authentication behavior. Keep those integration tests isolated so normal test runs do not depend on a live graph database.
Is this Neo4j HTTP adapter suitable for production, and what are the alternatives?
It can be suitable for production when HTTP access matches your hosting and network constraints, but HTTP calls add overhead compared with a direct Bolt connection. Evaluate latency, timeouts, authentication, and transaction needs against your workload. Alternatives include the official Neo4j PHP driver over Bolt or calling Neo4j's HTTP API directly with your own PSR HTTP client.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console