PHPackages                             sdboyer/gliph - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sdboyer/gliph

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sdboyer/gliph
=============

A graph library for PHP.

0.7.0(11y ago)17029.1k↓50%7[8 issues](https://github.com/sdboyer/gliph/issues)[1 PRs](https://github.com/sdboyer/gliph/pulls)1MITPHPPHP &gt;=5.5CI failing

Since Aug 20Pushed 6y ago7 watchersCompare

[ Source](https://github.com/sdboyer/gliph)[ Packagist](https://packagist.org/packages/sdboyer/gliph)[ Docs](http://github.com/sdboyer/gliph)[ RSS](/packages/sdboyer-gliph/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (18)Used By (1)

Gliph
=====

[](#gliph)

[![Build Status](https://camo.githubusercontent.com/319b198754f407fc3e1d9b8e2ca34110fb9db2de92649afe379276a8990e82c8/68747470733a2f2f7472617669732d63692e6f72672f7364626f7965722f676c6970682e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/sdboyer/gliph)[![Latest Stable Version](https://camo.githubusercontent.com/272ff64db02039b2099847af79ca77cc8f215eaace99edd9a459e370fba30134/68747470733a2f2f706f7365722e707567782e6f72672f7364626f7965722f676c6970682f762f737461626c652e706e67)](https://packagist.org/packages/sdboyer/gliph)[![Coverage Status](https://camo.githubusercontent.com/f61c37aca0e5e0ac5fd0d19f14694010fdcf8c910d91bd36914bef4a424acace/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7364626f7965722f676c6970682f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/sdboyer/gliph?branch=master)

Gliph is a graph library for PHP. It provides graph building blocks and datastructures for use by other PHP applications. It is designed for use with in-memory graphs, not for interaction with a graph database like [Cayley](https://github.com/google/cayley) or [Neo4J](http://neo4j.org/) (though it could be used to facilitate such connection).

Gliph aims for both sane interfaces and as performant an implementation as userspace PHP allows.

This does require knowing enough about graphs to know what type is appropriate for your use case, but we are aiming to provide helpers that simplify those choices.

Quickstart
----------

[](#quickstart)

Working with gliph is easy: pick a graph implementation, then add edges and vertices as needed. ()Note that gliph currently supports only object vertices, though this limitation may be loosened in future releases)

```
