chanywn / lemon
a modern php framework
v1.0.0
2018-01-30 04:33 UTC
Requires
- php: >=5.6.4
- erusev/parsedown: ^1.6
- filp/whoops: ^2.1
- monolog/monolog: ^1.22
Requires (Dev)
- php: >=5.6.4
- erusev/parsedown: ^1.6
- filp/whoops: ^2.1
- monolog/monolog: ^1.22
This package is not auto-updated.
Last update: 2024-11-10 03:10:36 UTC
README
🍋 是一个现代的 PHP 框架
相关项目
基于 lemon 框架的博客项目
如何使用
1.安装
composer require chanywn/lemon dev-master
2.新建index.php文件
require 'vendor/autoload.php';
use Lemon\Route;
Route::get('/', function($request, $response){
return $response->write('Hello lemon');
});
Route::run();
3.执行内置服务器
php -S localhost:4000
4.访问 localhost:4000