PHPackages                             bleicker/nodes - 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. bleicker/nodes

ActiveLibrary

bleicker/nodes
==============

0.15.8(10y ago)01451PHP

Since Apr 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/pumatertion/bleicker.nodes)[ Packagist](https://packagist.org/packages/bleicker/nodes)[ RSS](/packages/bleicker-nodes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (59)Used By (1)

### Usage

[](#usage)

#### Introduce your Node implementation

[](#introduce-your-node-implementation)

MyNode.yml:

```
MyNode:
  type: entity

```

MyNode.php:

```
class myNode extends AbstractContentNode {

}

```

#### Bootstap an usage of Service

[](#bootstap-an-usage-of-service)

ExampleApp.php

```
use Bleicker\ObjectManager\ObjectManager;
use Bleicker\Persistence\EntityManager;
use Bleicker\Persistence\EntityManagerInterface;
use Bleicker\Registry\Registry;
use Doctrine\ORM\Tools\Setup;

// Register schemas of this node package
Registry::set('doctrine.schema.paths.nodes', __DIR__ . "/vendor/bleicker/nodes/src/Schema/Persistence");

// Register schemas of you app
Registry::set('doctrine.schema.paths.nodes-functional', __DIR__ . "/Schema/Persistence");

// Register DB Connection
Registry::set('DbConnection', ['url' => 'mysql://john:doe@localhost/yourdb']);

// Register the PersistenceManagerInterface
ObjectManager::register(EntityManagerInterface::class, function () {
	return EntityManager::create(
		Registry::get('DbConnection'),
		Setup::createYAMLMetadataConfiguration(Registry::get('doctrine.schema.paths'))
	);
});

/** @var EntityManagerInterface $entityManager */
$entityManager = ObjectManager::get(EntityManagerInterface::class);

$node = new Page();
$node1 = new Content();
$node2 = new Content();
$node3 = new Content();

$node->addChild($node1)->addChild($node2)->addChildAfter($node3, $node1);

$entityManager->persist($node);
$entityManager->flush();

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~0 days

Total

58

Last Release

4012d ago

### Community

Maintainers

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

---

Top Contributors

[![pumatertion](https://avatars.githubusercontent.com/u/1853527?v=4)](https://github.com/pumatertion "pumatertion (224 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bleicker-nodes/health.svg)

```
[![Health](https://phpackages.com/badges/bleicker-nodes/health.svg)](https://phpackages.com/packages/bleicker-nodes)
```

PHPackages © 2026

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