Download the PHP package dseguy/php-gremlin without Composer

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

php-gremlin

Packagist CI

A PHP client for Apache TinkerPop Gremlin Server 4.0, talking to its HTTP endpoint directly (TinkerPop 4 dropped the old WebSocket sub-protocol, so there is no session/handshake layer to manage).

Everything here was built and verified against a real Gremlin Server 4.0.0-beta.3, including the entire Apache TinkerPop Gherkin conformance suite (437 scenarios, run via Behat — see Testing) — not just unit tests against assumptions about the protocol.

Requirements

Installation

Quick start

Hydrating into your own classes

Vertex/Edge results can be mapped onto a plain PHP class instead, by property name (id/label are special-cased):

Serializers

GraphBinary V4 is the default (Gremlin\Driver\Serializer\GraphBinarySerializerV4). Pass GraphSON explicitly when you want to inspect requests/responses as JSON, e.g. while debugging against curl:

Both serializers decode into the exact same PHP shapes - switching between them never changes what your code gets back.

Mass loading GraphML / GraphSON

Both readers stream the source file (XMLReader for GraphML, line-by-line for GraphSON) rather than loading it whole, and BulkLoader batches multiple vertices/edges into a single request per batch instead of one round trip per element.

Testing

The integration and Behat suites expect a Gremlin Server 4.0 running locally (localhost:8182 for tests/Integration, localhost:8184 with three named toy-graph traversal sources - gmodern/gclassic/gempty - for vendor/bin/behat; see tests/gremlin-test/bootstrap/FeatureContext.php and tests/Integration/LiveServerTest.php for the exact configuration expected). They are not part of CI for that reason - only tests/Unit and PHPStan run there.

tests/gremlin-test/ vendors a curated subset of Apache TinkerPop's own language-agnostic Gherkin feature files under their original Apache-2.0 license; see tests/gremlin-test/VENDORED_FROM.md for provenance and the curation rationale.

License

Apache-2.0. See LICENSE. Files under tests/gremlin-test/features/ originate from the apache/tinkerpop project and retain their original license headers.


All versions of php-gremlin with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-curl Version *
ext-json Version *
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 dseguy/php-gremlin contains the following files

Loading the files please wait ...