Welcome to XJConf for PHP
XJConf for PHP enables you to create any type of PHP value (simple types as well as objects) from any XML-document. In order to achieve this, all you need to do is specify the rules for the config reader. These rules can be specified in two ways:
- programmatically
- using a special XML syntax
Dowloading XJConf for PHP
XJConf for PHP can be installed using the PEAR installer from http://pear.php-tools.net
If the PEAR installer is available on your system, you only need to execute the following commands:
$ pear channel-discover pear.php-tools.net $ pear install pat/XJConfForPHP-alpha
Nightly builds
Nightly builds of XJConf are available at http://snaps.php-tools.net/ We provide them as
- ZIP archive
- TAR.GZ archive
- TAR.BZ2 archive
- PEAR-installable package
Subversion access
To get the latest version follow these steps:
$ svn checkout http://svn.xjconf.net/XJConfForPHP/trunk XJConfForPHP
External resources
Up until now we did not have the time to do our duty and create a user documentation for XJConf. However, there is a very good tutorial that covers most of the basic usage and gives a very good introduction into XJConf available at IBM DeveloperWorks: Process XML configuration files with PHP by Vikram Vaswani. Many thanks to him for taking the time to create this tutorial!
Another article describing an interesting usage scenario for XJConf: Configure PHP-applications with XJConf by Nic Waller.
History
XJConf for PHP is a backport of XJConf which is the same for Java which itself is a port of patConfiguration, an interface to access XML based configuration files via PHP.
Developers
XJConf for PHP is currently developed by:
- Stephan Schmidt (schst), lead developer
- Frank Kleine (mikey), lead developer
How to use this site?
This site is powered by Trac, which is an enhanced Wiki and issue-tracking system. You can use this site to report bug reports or feature requests and also browse the source in the subversion repository. If you need help with Trac we recommend reading the TracGuide.
License
XJConf for PHP is published under the LGPL.
