######### Structure ######### This is the simplified document tree of the PHP backend:: dist/ doc/ src/ commands/ config/ install/ lib/ .. list-table:: **Contents of the root directory** :header-rows: 1 :widths: 5 75 * - directory - description * - dist/ - Contains packages created by "make archive". * - doc/ - Path where API documentation will be created later. * - src/ - Sourcecode of PHP backend .. list-table:: **Contents of src/ directory** :header-rows: 1 :widths: 5 75 * - directory/file - description * - commands/ - Contains command files where the logic is located - see :ref:`how-to-write-a-command` * - config/ - Includes the config file named **local.php** where all config options should be set * - install/ - Configuration script for an initial setup. * - lib/ - Contains the backends core library (**SmartWFM**), external tools (**FirePHP**, **geshi**, **JSON**) and libraries for some commands (**AFS**, **archives**, **search**)