2017 © Pedro Peláez
 

library phpcr-utils

PHP Content Repository implementation independant utilities

image

phpcr/phpcr-utils

PHP Content Repository implementation independant utilities

  • Tuesday, February 13, 2018
  • by dbu
  • Repository
  • 6 Watchers
  • 31 Stars
  • 868,870 Installations
  • PHP
  • 12 Dependents
  • 3 Suggesters
  • 33 Forks
  • 23 Open issues
  • 47 Versions
  • 4 % Grown

The README.md

PHPCR Utilities

Build Status Latest Stable Version Total Downloads, (*1)

Commands and implementations for common tasks for the PHP Content Repository (PHPCR) API., (*2)

If you are using or implementing PHPCR you probably want some of the things in here., (*3)

PHPCR Users: Note that your PHPCR implementation probably already bundles the utils., (*4)

License

This code is dual licensed under the MIT license and the Apache License Version 2.0. Please see the file LICENSE in this folder., (*5)

Documentation

The utils bring you a couple of Commands you can use to interact with a PHPCR repository on the command line. Additionally we provide a couple of helper classes for common tasks., (*6)

Commands

There are a couple of useful commands to interact with a PHPCR repository., (*7)

To use the console, make sure you have initialized the git submodules of phpcr-utils, then copy cli-config.php.dist to cli-config.php and adjust it to your implementation of PHPCR. Then you can run the commands from the phpcr-utils directory with ./bin/phpcr NOTE: If you are using PHPCR inside of Symfony, the DoctrinePHPCRBundle provides the commands inside the normal Symfony console and you don't need to prepare anything special., (*8)

To get a list of the available commands, run bin/phpcr or set the commands up in your application. Running bin/phpcr help <command-name> outputs the documentation of that command., (*9)

Helper Classes

The helper classes provide implementations for basic common tasks to help users and implementers of PHPCR. They are all in the namespace PHPCR\Util, (*10)

PathHelper

Used to manipulate paths. Implementations are recommended to use this, and applications also profit from it. Using dirname and similar file system operations on paths is not compatible with Microsoft Windows systems, thus you should always use the methods in PathHelper., (*11)

NodeHelper

This helper has some generally useful methods like one to generate empty nt:unstructured nodes to make sure a parent path exists. It also provides some useful helper methods for implementations., (*12)

UUIDHelper

This little helper is mainly of interest for PHPCR implementers. It generates valid Universally Unique IDs and can determine whether a given string is a valid UUID. We recommend all implementations to use this implementation to guarantee consistent behaviour., (*13)

Note, (*14)

You can use ramsey/uuid library to generate UUIDs. In this case, install it using Composer and generating UUIDs will be taken over by ramsey/uuid., (*15)

QOM QueryBuilder

The QueryBuilder is a fluent query builder with method names matching the Doctrine QueryBuilder on top of the QOM factory. It is the easiest way to programmatically build a PHPCR query., (*16)

Query Object Model Converter

In the PHPCR\Util\QOM namespace we provide, implementation-independant code to convert between SQL2 and QOM. Sql2ToQomQueryConverter parses SQL2 queries into QOM . QomToSql2QueryConverter generates SQL2 out of a QOM., (*17)

TraversingItemVisitor

This ItemVisitorInterface implementation is a basic implementation of crawling a PHPCR tree. You can extend it to define what it should do while crawling the tree., (*18)

The Versions

13/02 2018

dev-master

9999999-dev http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

13/02 2018

1.3.x-dev

1.3.9999999.9999999-dev http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

13/02 2018

1.3.3

1.3.3.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/02 2018

1.2.x-dev

1.2.9999999.9999999-dev http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/02 2018

1.2.11

1.2.11.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

06/02 2018

1.4.0

1.4.0.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

18/11 2017

1.3.2

1.3.2.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/11 2017

1.3.1

1.3.1.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

27/09 2017

dev-php-72

dev-php-72 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

02/03 2017

1.3.0

1.3.0.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

27/01 2017

dev-relax-php-version-constraint

dev-relax-php-version-constraint http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

06/12 2016

1.2.10

1.2.10.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/02 2016

1.2.9

1.2.9.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

10/10 2015

1.2.8

1.2.8.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

14/07 2015

1.2.7

1.2.7.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

11/06 2015

1.2.6

1.2.6.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

01/05 2015

1.2.5

1.2.5.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/02 2015

1.2.4

1.2.4.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

09/02 2015

1.2.3

1.2.3.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

20/12 2014

1.1.x-dev

1.1.9999999.9999999-dev http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

20/12 2014

1.1.2

1.1.2.0 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

17/11 2014

1.2.2

1.2.2.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

07/11 2014

1.2.1

1.2.1.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

24/10 2014

1.2.0

1.2.0.0 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/09 2014

1.2.0-RC2

1.2.0.0-RC2 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

02/09 2014

1.2.0-RC1

1.2.0.0-RC1 http://phpcr.github.io

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

17/06 2014

1.1.1

1.1.1.0 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

25/02 2014

dev-fix-parsing-dot-in-literal

dev-fix-parsing-dot-in-literal http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

02/02 2014

1.1.0

1.1.0.0 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

08/01 2014

1.1.0-RC1

1.1.0.0-RC1 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

10/10 2013

1.0.0

1.0.0.0 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

08/10 2013

1.0.0-RC2

1.0.0.0-RC2 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

25/09 2013

1.0.0-RC1

1.0.0.0-RC1 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

MIT Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

26/07 2013

1.0.0-beta14

1.0.0.0-beta14 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

11/07 2013

1.0.0-beta13

1.0.0.0-beta13 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

10/07 2013

1.0.0-beta12

1.0.0.0-beta12 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/06 2013

1.0.0-beta11

1.0.0.0-beta11 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

09/06 2013

1.0.0-beta10

1.0.0.0-beta10 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

04/05 2013

1.0.0-beta9

1.0.0.0-beta9 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

02/04 2013

1.0.0-beta8

1.0.0.0-beta8 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

28/03 2013

1.0.0-beta7

1.0.0.0-beta7 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

10/03 2013

1.0.0-beta6

1.0.0.0-beta6 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

12/02 2013

1.0-beta5

1.0.0.0-beta5 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

11/01 2013

1.0-beta4

1.0.0.0-beta4 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

11/07 2012

1.0-beta3

1.0.0.0-beta3 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache-2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

15/02 2012

1.0-beta2

1.0.0.0-beta2 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache License 2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository

10/02 2012

1.0-beta1

1.0.0.0-beta1 http://phpcr.github.com

PHP Content Repository implementation independant utilities

  Sources   Download

Apache License 2.0

The Requires

 

by David Buchmann
by Lukas Kahwe Smith
by Daniel Barsotti

cli phpcr contentrepository