PHPackages                             php-rexster/rexster - 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. php-rexster/rexster

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

php-rexster/rexster
===================

PHP Rexster SDK

1.0(12y ago)36274MITPHPPHP &gt;=5.3.0

Since Dec 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ashwinks/PHP-Rexster)[ Packagist](https://packagist.org/packages/php-rexster/rexster)[ Docs](https://github.com/ashwinks/PHP-Rexster)[ RSS](/packages/php-rexster-rexster/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP-Rexster
===========

[](#php-rexster)

PHP SDK for the [Rexster REST API](https://github.com/tinkerpop/rexster/wiki/Basic-REST-API)

Usage
=====

[](#usage)

Create a graph object

```
$graph = new Graph('http://localhost:8182', 'testing');
```

Get a vertex from the graph by vertex id

```
$vertex = $graph->getVertex($vertex_id);
```

Get an edge from the graph by edge id

```
$edge = $graph->getEdge($edge_id);
```

Get a vertex by an indexed property or attribute

```
$vertex = $graph->getVertexByAttribute('name', $name);
```

Get all vertices with offsets for paging

```
$graph->setOffsetStart(5);
$graph->setOffsetEnd(10);
$vertices = $graph->getVertices();
```

Create a vertex

```
$vertex = new Vertex($graph);
$vertex->some_property = "some property";
$vertex->another_attribute = "haay";
$vertex->create();
```

Create an edge

```
$edge = new Edge($graph);
$e->some_property = 'edge name property';
$e->_inV = 4;
$e->_outV = 8;
$e->_label = "knows";
```

Create an in/out edges for a given vertex

```
$vertex = $graph->getVertex($vertex_id);
$vertex->createOutEdge($to_vertex_id, 'likes', $data);
$vertex->createInEdge($from_vertex_id, 'likes', $data);
```

Gremlin scripts

```
$gr = new Gremlin($g);
$response = $gr->runScript("g.v({$vertex_id}).out.path");
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4546d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eef91d092af7d4af59f646295490ec7368a0ca8f3c8f644b605b1936b50cc4f6?d=identicon)[ashwinks](/maintainers/ashwinks)

---

Top Contributors

[![teedot-ashwin](https://avatars.githubusercontent.com/u/5694960?v=4)](https://github.com/teedot-ashwin "teedot-ashwin (2 commits)")

---

Tags

apirestapi clientblueprintsrexsterrexster graph

### Embed Badge

![Health badge](/badges/php-rexster-rexster/health.svg)

```
[![Health](https://phpackages.com/badges/php-rexster-rexster/health.svg)](https://phpackages.com/packages/php-rexster-rexster)
```

###  Alternatives

[linkedinapi/linkedin

PHP LinkedIn SDK

96357.1k4](/packages/linkedinapi-linkedin)[wrapi/slack

Wrapper for Slack Web API

56272.3k2](/packages/wrapi-slack)[xendit/xendit-php

Xendit PHP SDK

189730.6k6](/packages/xendit-xendit-php)[angelleye/paypal-php-library

PHP wrapper for PayPal APIs

243440.9k](/packages/angelleye-paypal-php-library)[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[phrest/api

REST API Package for Phalcon PHP

304.2k](/packages/phrest-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
