PHPackages                             polygram/phpcr-bundle - 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. polygram/phpcr-bundle

ActiveSymfony-bundle

polygram/phpcr-bundle
=====================

PHPCR Bundle - still in dev

0121PHP

Since Nov 30Pushed 13y ago2 watchersCompare

[ Source](https://github.com/polygram/PHPCRBundle)[ Packagist](https://packagist.org/packages/polygram/phpcr-bundle)[ RSS](/packages/polygram-phpcr-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\##This bundle is a test project for PHPCR

1. To install first add the following to composer.json

```
    "polygram/phpcr-bundle": "dev-master"
```

2. Run

    "composer update"

    It should also install the bundle dependencies

    ```
    "require": {
        "jackalope/jackalope-jackrabbit": "1.0.*",
        "doctrine/phpcr-bundle": "1.0.*",
        "doctrine/phpcr-odm": "1.0.*",
        "doctrine/doctrine-fixtures-bundle": "dev-master"
    }
    ```
3. Add the following line, immediately after the last AnnotationRegistry::registerFile line:

```
AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php');
```

4. Initialize the bundles in AppKernel.php

```
new Doctrine\Bundle\PHPCRBundle\DoctrinePHPCRBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new polygram\PHPCRBundle\polygramPHPCRBundle(),
```

5. Add the following to your config.yml

```
  doctrine_phpcr:
        session:
            backend:
                type: jackrabbit
                url: http://127.0.0.1:8080/server/
            workspace: default
            username: admin
            password: admin
        odm:
            auto_mapping: true
            auto_generate_proxy_classes: %kernel.debug%
```

6. Download and Run Jackrabbit

```
    wget http://apache.online.bg/jackrabbit/2.4.3/jackrabbit-standalone-2.4.3.jar
    java -jar jackrabbit-standalone-*.jar

```

7. Register node types

```
    app/console doctrine:phpcr:register-system-node-types

```

8. Install the fixtures

```
    app/console doctrine:phpcr:fixtures:load
    then run:
    app/console doctrine:phpcr:dump
    to see the result

```

TODO
----

[](#todo)

1. List the repository content in the default controller
2. Extends the example to use the other 2 CR backends
3. Make test on which parts of the PHPCR specification are supported

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/34b342318bf911207e0d4c12fbc03bd0af46023e3669e06dbf09154db77ce458?d=identicon)[polygram](/maintainers/polygram)

---

Top Contributors

[![polygram](https://avatars.githubusercontent.com/u/2901914?v=4)](https://github.com/polygram "polygram (26 commits)")[![ichoman](https://avatars.githubusercontent.com/u/1502091?v=4)](https://github.com/ichoman "ichoman (4 commits)")[![digbot](https://avatars.githubusercontent.com/u/1742885?v=4)](https://github.com/digbot "digbot (2 commits)")

### Embed Badge

![Health badge](/badges/polygram-phpcr-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/polygram-phpcr-bundle/health.svg)](https://phpackages.com/packages/polygram-phpcr-bundle)
```

PHPackages © 2026

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