Install

Installation from PEAR

Registering the channel:

pear channel-discover pear.complexml.org

Installing a package:

pear install complexml/CompleXml

Installation from source

To install CompleXml need to download the archive at site http://complexml.org or get a copy of the svn repository

svn co http://complexml.googlecode.com/svn/trunk complexml

after receiving the package of frameworks, put the contents of the directory lib/ to the directory, the specified option in the settings of your php include_path and add to the configuration of this option is the way to CompleXml in php.ini, so include_path is possible to install before running the script for this before each launch script performs

  set_include_path(get_include_path().PATH_SEPARATOR .'/path/to/CompleXml/lib');

To quickly get started with CompleXml, run the command from the directory ./bin

./cx create project firstproject

This command will create in the current working directory project called firstproject, if you want to copy in the lib directory of the draft copy of the framework, run

./cx create project firstproject --with-lib

In order to specify a different directory in which you want to create a project, use the command:

./cx create project firstproject --dir /path/to/workspace