2017 © Pedro Peláez
 

library github2cypher

Github Public Events translated to Neo4j Cypher Statements

image

ikwattro/github2cypher

Github Public Events translated to Neo4j Cypher Statements

  • Sunday, July 12, 2015
  • by ikwattro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 27 Versions
  • 0 % Grown

The README.md

Github Events To Cypher

This library leverages the GithubEvent library and convert github event objects to Neo4j Cypher Queries., (*1)

Requirements

  • PHP 5.4+

Installation

Add this library to your project dependencies :, (*2)

composer require ikwattro/github2cypher

Usage

The usage of the library is straightforward, instantiate the Github2CypherConverter class and pass your GithubEvent objects to the convert method :, (*3)


use Ikwattro\Github2Cypher\Github2CypherConverter; $converter = new Github2CypherConverter(); // Assuming you have a collection of GithubEvent objects foreach ($events as $event) { $statements = $converter->convert($event); // Returns a collection of statements of the form ['query' => 'MATCH xxx...', 'params' => ['p1' => 'v1', 'p2' => 'v2', ..] }

You can then use NeoClient to import the queries into Neo4j., (*4)

Indexes and Constraints

If you plan to import the queries into Neo4j (which is the goal), you can create the needed indexes and unique constraints easily., (*5)

These two methods returns you an array of indexes or constraints to create on labels/properties :, (*6)

  • getInitialSchemaIndexes();
  • getInitialSchemaConstraints();

Author

Christophe Willemsen, (*7)

License

Released under the MIT License. Please read the LICENSE file attached with this package., (*8)

The Versions

12/07 2015

dev-master

9999999-dev

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

12/07 2015

1.0.24

1.0.24.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

12/07 2015

1.0.23

1.0.23.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.1.0

1.1.0.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.21

1.0.21.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.22

1.0.22.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.20

1.0.20.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.19

1.0.19.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.18

1.0.18.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.17

1.0.17.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.16

1.0.16.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.15

1.0.15.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.14

1.0.14.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.13

1.0.13.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.12

1.0.12.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

06/07 2015

1.0.11

1.0.11.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Development Requires

05/07 2015

1.0.10

1.0.10.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

05/07 2015

1.0.9

1.0.9.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

04/07 2015

1.0.8

1.0.8.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2015

1.0.6

1.0.6.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2015

1.0.7

1.0.7.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2015

1.0.5

1.0.5.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

28/05 2015

1.0.4

1.0.4.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

22/05 2015

1.0.3

1.0.3.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

22/05 2015

1.0.2

1.0.2.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

22/05 2015

1.0.1

1.0.1.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires

23/02 2015

1.0.0

1.0.0.0

Github Public Events translated to Neo4j Cypher Statements

  Sources   Download

MIT

The Requires

 

The Development Requires