Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

gpupo-meta/jackalope-jackrabbit-by-example

Repository files navigation

Educational usage of phpcr with jackalope-jackrabbit

Requirements

  • Docker
  • Composer
  • Git

Install

git clone https://github.com/gpupo/jackalope-jackrabbit-by-example.git;
cd jackalope-jackrabbit-by-example;
composer install

Content Repository Server

Run gpupo/content-repository-server

docker run -p 8080:8080 gpupo/content-repository-server

Open Jackrabbit JCR Server dashboard (optional)

At first time, register node types:

./vendor/bin/phpcrodm doctrine:phpcr:register-system-node-types

More info for Jackrabbit see

Examples

  • src/Jackalope - Operations using phpcr with jackalope-jackrabbit
  • src/DoctrinePhpcrOdm - Operations using Doctrine PHPCR ODM over phpcr with jackalope-jackrabbit

Execute samples

./run-all.sh