|
|
13 years ago | |
|---|---|---|
| tests | 13 years ago | |
| .gitignore | 13 years ago | |
| LICENSE.txt | 13 years ago | |
| Makefile | 13 years ago | |
| README.md | 13 years ago | |
| TODO.txt | 13 years ago | |
| autoloader.php | 13 years ago | |
| base.php | 13 years ago | |
| collection.php | 13 years ago | |
| handlers.php | 13 years ago | |
| logger.php | 13 years ago | |
| node.php | 13 years ago | |
| phpdoc.dist.xml | 13 years ago | |
| phpunit.xml | 13 years ago | |
| router.php | 13 years ago | |
| session.php | 13 years ago | |
| template.php | 13 years ago | |
| utils.php | 13 years ago | |
| webbasics.php | 13 years ago |
WebBasics is a set of classes that provides the minimal functionalities of a website. The core exists of a class autoloader, a template parser, a logger and some array manipulation functions. No MVC 'model' implementation is included, there are already many of these out there (PHPActiveRecord is recommended).
Unit tests are located in the 'tests/' directory. PHPUnit is used to run tests. The PHP extension Xdebug needs to be installed in order to generate a code coverage report. To run all unit tests, simply run 'phpunit' in the root directory.
PhpDocumentor can be used to generate documentation in the 'build/docs/' directory. Just run 'phpdoc' in the root directory.
A build of the documentation is available here.