zim
1.0.0
Zim是基於Zephir語言的Yaf,Laravel,Symfony的簡單框架(複製/粘貼?)。
通過Zim-ext作為PHP語言的C擴展提供,或者您可以選擇純PHP實現Zim-PHP
從Zim-Ext構建PHP擴展
或者
使用作曲家安裝PHP實施
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
請參閱PHP版本Zim-PHP
https://github.com/henter/zim/wiki
歡迎 !
麻省理工學院