stefanak-michal/bolt
Low-level PHP Bolt protocol driver (Bolt <= 6) for TCP socket communication with graph databases like Neo4j, Memgraph, Amazon Neptune, and others. Supports PHP 8.1+ and tracks official protocol message specifications across versions.
Adopt if:
Look elsewhere if:
For Executives: "This package lets us leverage graph databases (like Neo4j or Memgraph) directly from PHP/Laravel, unlocking real-time, high-performance queries for use cases like fraud detection or recommendation engines. It’s a drop-in Bolt driver—no REST overhead, no vendor lock-in—while keeping our stack PHP-native. For example, we could replace slow SQL joins with millisecond graph traversals, cutting latency by 90% in scenarios like supply chain optimization. The MIT license and active maintenance (last release: 2026) make it a low-risk choice."
For Engineering: *"This is a low-level Bolt client for PHP 8.1+, supporting all Bolt versions up to 6. Key benefits:
mbstring/sockets (optional OpenSSL).
Use case: If we’re building a Laravel service for graph analytics, this avoids REST latency and lets us use Cypher queries natively. Tradeoff: More control but less abstraction than Neo4j’s official driver. Pair with a helper layer (e.g., Laravel service) to hide Bolt complexity."*For Developers: *"Need to query Neo4j/Memgraph from PHP without REST? This package gives you raw Bolt protocol access with:
run(), pull(), begin()) matching Bolt specs.DB::select() with $bolt->run('MATCH (n) RETURN n')->pull() for graph data. Docs link to Neo4j’s Bolt specs for version-specific details. Start with the Client helper class to simplify boilerplate."*How can I help you explore Laravel packages today?