You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Jukka Zitting <jz...@yukatan.fi> on 2005/07/03 14:19:42 UTC

contrib/phpcr started

Hi all,

After clearing the copyright issues related to the PHP port of JSR 170, 
I have now committed the PHPCR package contributed by Markus Nix. 
Thanks, Markus, for the great work!

The package was committed as contrib/phpcr in SVN revision 208906, and 
contains the latest 0.2 release sent by Markus with the following 
changes applied:

  1. Added the ValueFactory and {Item,Node,Property}Definition
     interfaces that were missing from the latest package.

  2. Removed the include.php file.

  3. Renamed the phpcr package to PHPCR to comply with the PEAR
     naming conventions.

  4. Renamed the php170 subdirectory to PHPCR to match the
     package name.

  5. Updated and cleaned up the package.xml file according to
     the above changes.

  6. Removed the troublesome (in PHP) circular dependency between
     the Version and Node interfaces.

The contrib/phpcr package requires PHP5 and can be built and installed 
with the following commands:

     $ cd contrib/phpcr
     $ pear package package.xml
     $ pear install PHPCR-0.2.tgz

The installed classes and interfaces can be accessed from PHP like this:

     <?php require_once 'PHPCR/Repository.php'; ?>

I'd like to welcome all interested PHP developers to share their ideas 
and comments about this port and the various ways it could be used.

BR,

Jukka Zitting