PHPackages                             event-engine/php-inspectio-graph-cody - 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. event-engine/php-inspectio-graph-cody

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

event-engine/php-inspectio-graph-cody
=====================================

PHP Graph Cody for InspectIO

0.1.0(4y ago)17572MITPHPPHP ^7.4 || ^8.0

Since Feb 22Pushed 4y ago2 watchersCompare

[ Source](https://github.com/event-engine/php-inspectio-graph-cody)[ Packagist](https://packagist.org/packages/event-engine/php-inspectio-graph-cody)[ RSS](/packages/event-engine-php-inspectio-graph-cody/feed)WikiDiscussions master Synced 1mo ago

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

Event Engine - PHP InspectIO Graph Cody
=======================================

[](#event-engine---php-inspectio-graph-cody)

Implementation of the [*InspectIO Graph* specification](https://github.com/event-engine/php-inspectio-graph "InspectIO Graph specification")for [Cody Bot](https://github.com/event-engine/inspectio/wiki/PHP-Cody-Tutorial "PHP Cody Tutorial") to generate PHP code based on the [InspectIO Event Map](https://github.com/event-engine/inspectio "InspectIO Event Map").

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

[](#installation)

```
$ composer require event-engine/php-inspectio-graph-cody
```

Usage
-----

[](#usage)

> See unit tests (`EventSourcingAnalyzerTest`) in `tests` folder for comprehensive examples and how a Cody JSON looks like.

The following example gives a quick overview how to retrieve information from the `EventSourcingAnalyzer`.

```
