PHPackages                             pear/structures\_graph - 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. pear/structures\_graph

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

pear/structures\_graph
======================

More info available on: http://pear.php.net/package/Structures\_Graph

v1.2.0(1y ago)51.7M—0.9%42LGPL-3.0-or-laterPHPPHP &gt;=5.3

Since Feb 26Pushed 1y ago10 watchersCompare

[ Source](https://github.com/pear/Structures_Graph)[ Packagist](https://packagist.org/packages/pear/structures_graph)[ Docs](http://pear.php.net/package/Structures_Graph)[ RSS](/packages/pear-structures-graph/feed)WikiDiscussions trunk Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (2)

Structures\_Graph - Graph datastructure manipulation library
============================================================

[](#structures_graph---graph-datastructure-manipulation-library)

[![Build Status](https://camo.githubusercontent.com/356cb3143d436f9a595e4bd5ea37c923e5746cc2f61055ab13f1448e5c5c5e4c/68747470733a2f2f7472617669732d63692e6f72672f706561722f537472756374757265735f47726170682e7376673f6272616e63683d7472756e6b)](https://travis-ci.org/pear/Structures_Graph)

Structures\_Graph is a package for creating and manipulating graph datastructures. It allows building of directed and undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing as well as for characteristic extraction from the graph topology.

[Homepage](http://pear.php.net/package/Structures_Graph/)

Installation
------------

[](#installation)

For a PEAR installation that downloads from the PEAR channel:

`$ pear install pear/structures_graph`

For a PEAR installation from a previously downloaded tarball:

`$ pear install Structures_Graph-*.tgz`

For a PEAR installation from a code clone:

`$ pear install package.xml`

For a local composer installation:

`$ composer install`

To add as a dependency to your composer-managed application:

`$composer require pear/structures_graph`

Tests
-----

[](#tests)

Run the tests from a local composer installation:

`$ ./vendor/bin/phpunit -c phpunit.xml.dist`

License
-------

[](#license)

LGPL-3.0+ license

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~1691 days

Total

3

Last Release

715d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

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

---

Top Contributors

[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (18 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (15 commits)")[![saltybeagle](https://avatars.githubusercontent.com/u/92284?v=4)](https://github.com/saltybeagle "saltybeagle (5 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (2 commits)")[![jocl](https://avatars.githubusercontent.com/u/1059741?v=4)](https://github.com/jocl "jocl (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pear-structures-graph/health.svg)

```
[![Health](https://phpackages.com/badges/pear-structures-graph/health.svg)](https://phpackages.com/packages/pear-structures-graph)
```

PHPackages © 2026

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