zim php
1.0.0
Zim是基于Zephir语言的Yaf,Laravel,Symfony的简单框架(复制/粘贴?)。
通过Zim-ext作为PHP语言的C扩展提供,或者您可以选择纯PHP实现Zim-PHP
演示项目Zim
composer require henter/zim
使用PHP Build-In服务器的简单演示
index.php
<?php
require __DIR__ . ' /vendor/autoload.php ' ;
use Zim Zim ;
use Zim Routing Route ;
Route:: get ( ' / ' , function () {
return ' hello zim ' ;
});
Zim:: run ();启动简单服务器:
php -S localhost:8888
打开http:// localhost:8888
Zim的更多用法
请参阅PHP版本Zim-PHP
https://github.com/henter/zim/wiki
欢迎 !
麻省理工学院