项目作者: xinhaiz

项目描述 :
参考Yaf以纯PHP实现的PHP框架
高级语言: PHP
项目地址: git://github.com/xinhaiz/Ghalf.git
创建时间: 2014-12-20T17:19:37Z
项目社区:https://github.com/xinhaiz/Ghalf

开源协议:Apache License 2.0

下载


Ghalf v0.8.0 (Beta)

  • 参考Yaf以纯PHP实现的PHP框架

Yaf

环境

  • PHP 5.4 +

目录

  1. + public
  2. | - index.php
  3. + conf
  4. | - application.ini
  5. - application/
  6. + controllers
  7. - Index.php
  8. + views
  9. |+ Index
  10. - index.phtml
  11. - library
  12. - models
  13. - modules
  14. - plugins
  15. - Bootstrap.php
  1. <?php
  2. define('DS', DIRECTORY_SEPARATOR);
  3. define('APP_PATH', dirname(dirname(__FILE__)));
  4. require(APP_PATH . '/Ghalf/Application.php');
  5. $app = new \Ghalf\Application(APP_PATH . '/conf/application.ini');
  6. $app->bootstrap()->run();

文档

  • 暂时没有