PHPackages                             syndesi/cypher-entity-manager - 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. [Database &amp; ORM](/categories/database)
4. /
5. syndesi/cypher-entity-manager

ActiveLibrary[Database &amp; ORM](/categories/database)

syndesi/cypher-entity-manager
=============================

Provides an entity manager for Cypher data types

0.2.0(1y ago)38.5k↑350%1MITPHPPHP ^8.1CI passing

Since Dec 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/neo4j-php/cypher-entity-manager)[ Packagist](https://packagist.org/packages/syndesi/cypher-entity-manager)[ Docs](https://neo4j-php.github.io/cypher-entity-manager/#/)[ RSS](/packages/syndesi-cypher-entity-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (17)Versions (5)Used By (0)

[![GitHub](https://camo.githubusercontent.com/2ff740bd85dddf64b8590eb5114271a09c6de8d9e45cebf5a5cf6107aa91998a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e656f346a2d7068702f6379706865722d656e746974792d6d616e61676572)](https://github.com/neo4j-php/cypher-entity-manager/blob/main/LICENSE)[![Neo4j Version Support](https://camo.githubusercontent.com/1fffb4ab7b7fe7ea9ba4c7b64b5b3ce55eddc71c67aede17d28e679573b701e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e656f346a2d342e342532422d626c7565)](https://camo.githubusercontent.com/1fffb4ab7b7fe7ea9ba4c7b64b5b3ce55eddc71c67aede17d28e679573b701e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e656f346a2d342e342532422d626c7565)[![Packagist PHP Version Support (specify version)](https://camo.githubusercontent.com/a0f5cccde65cf4314c5f4029dd92db67dd445734d00ba72205053f1744e63f36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73796e646573692f6379706865722d656e746974792d6d616e616765722f6465762d6d61696e)](https://camo.githubusercontent.com/a0f5cccde65cf4314c5f4029dd92db67dd445734d00ba72205053f1744e63f36/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73796e646573692f6379706865722d656e746974792d6d616e616765722f6465762d6d61696e)[![Packagist Version](https://camo.githubusercontent.com/12f9d2f3756fe58a5ba8846749481b1244d6b392c4ba800c74aa133f6be5a020/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73796e646573692f6379706865722d656e746974792d6d616e61676572)](https://camo.githubusercontent.com/12f9d2f3756fe58a5ba8846749481b1244d6b392c4ba800c74aa133f6be5a020/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73796e646573692f6379706865722d656e746974792d6d616e61676572)[![Packagist Downloads](https://camo.githubusercontent.com/25a31d99a4a3d85f481178d6a660d22fd04da5ab309ffd956e462a060dcf152c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f73796e646573692f6379706865722d656e746974792d6d616e61676572)](https://camo.githubusercontent.com/25a31d99a4a3d85f481178d6a660d22fd04da5ab309ffd956e462a060dcf152c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f73796e646573692f6379706865722d656e746974792d6d616e61676572)

[![Test Coverage](https://camo.githubusercontent.com/409216dd9d0596f074de1939e8745123d05f63224fa01912d1448d1702af847b/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65636433646139326464623464386163393961352f746573745f636f766572616765)](https://codeclimate.com/github/Syndesi/cypher-entity-manager/test_coverage)[![Maintainability](https://camo.githubusercontent.com/1ceac452adb704d789f2f7cb3e5672510c8fca9482b5df879b4f144556b71f97/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65636433646139326464623464386163393961352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Syndesi/cypher-entity-manager/maintainability)

Syndesi's Cypher Entity Manager
===============================

[](#syndesis-cypher-entity-manager)

This library provides an entity manager for Cypher data types.
This basically means, that you do not have to write create/merge/delete statements for your nodes, relations etc. per hand. Instead, you just call `$em->create($node)`, `$em->merge($node)`, `$em->delete($node)` and at the end `$em->flush()`.

- [Documentation](https://neo4j-php.github.io/cypher-entity-manager)
- [Packagist](https://packagist.org/packages/syndesi/cypher-entity-manager)

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

[](#installation)

To install this library, run the following code:

```
composer require syndesi/cypher-entity-manager
```

This is all, now you can use the library :D

Using the library
-----------------

[](#using-the-library)

```
use Syndesi\CypherDataStructures\Type\Node;
use Syndesi\CypherEntityManager\Type\EntityManager;

/**
 * note: the container should be provided by your framework. manual configuration is possible, see documentation
 * @var EntityManagerInterface $em
 */
$em = $container->get(EntityManager::class);

$node = new Node();
$node
    ->addLabel('NodeLabel')
    ->addIdentifier('id', 123)
    ->addProperty('someProperty', 'someValue')
    ->addIdentifier('id');

// create a node:
$em->create($node);
$em->flush();

// update a node:
$node->addProperty('newProperty', 'Hello world :D');
$em->merge($node);
$em->flush();

// delete a node:
$em->delete($node);
$em->flush();
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance43

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Every ~402 days

Total

3

Last Release

457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28fc27d76b4e084add2057e6d5f855fe5322aebaaa01a3f53bb603217bcb894f?d=identicon)[Syndesi](/maintainers/Syndesi)

---

Top Contributors

[![Syndesi](https://avatars.githubusercontent.com/u/9903723?v=4)](https://github.com/Syndesi "Syndesi (73 commits)")

---

Tags

cypherentity-managerneo4jphpneo4jcyphergraph

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/syndesi-cypher-entity-manager/health.svg)

```
[![Health](https://phpackages.com/badges/syndesi-cypher-entity-manager/health.svg)](https://phpackages.com/packages/syndesi-cypher-entity-manager)
```

###  Alternatives

[vinelab/neoeloquent

Laravel wrapper for the Neo4j graph database REST interface

65393.1k1](/packages/vinelab-neoeloquent)[neo4j/neo4j-bundle

Symfony integration for Neo4j

8272.1k](/packages/neo4j-neo4j-bundle)[graphaware/neo4j-common

Common Utilities library for Neo4j

24876.2k24](/packages/graphaware-neo4j-common)[stefanak-michal/bolt

PHP library to provide connectivity to graph database over TCP socket with Bolt specification

79655.8k8](/packages/stefanak-michal-bolt)[ulobby/neoeloquent

Laravel wrapper for the Neo4j graph database REST interface

4473.4k](/packages/ulobby-neoeloquent)[wikibase-solutions/php-cypher-dsl

A query builder for the Cypher query language

1853.4k4](/packages/wikibase-solutions-php-cypher-dsl)

PHPackages © 2026

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