2017 © Pedro Peláez
 

library src

The MyClassPHP Framework..

image

myclassphp/src

The MyClassPHP Framework..

  • Tuesday, May 16, 2017
  • by AmColin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

MyClassPHP

MyClassPHP是一个开源、免费的学习框架。官方交流群 438695935, (*1)

在线文档

传送, (*2)

更新日志

查看, (*3)

安装、使用

安装框架, (*4)

git clone https://github.com/a1586256143/MyClassPHP.git

下拉composer所需组件, (*5)

composer install

例如:在controllers 建立Index.php,代码如下, (*6)

namespace controllers;
use system\Base;
class Hello extends Base{
    public function index(){
        return 'Hello MyClassPHP';
    }
}

打开 config/routes.php,追加一条路由, (*7)

'/hello' => 'Hello@index'

配置完成如下, (*8)

Route::add(array(
    '/' => 'Index@index' , 
    '/hello' => 'Hello@index'
))

运行, (*9)

http://域名/hello

The Versions

16/05 2017

dev-master

9999999-dev

The MyClassPHP Framework..

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Colin

21/04 2017

v3.0

3.0.0.0

The MyClassPHP Framework..

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Colin