unicframework/framework
最新稳定版本:v1.0.1
Composer 安装命令:
composer require unicframework/framework
包简介
Unic is a high performance, open source web framework.
README 文档
README
Unic is a high performance, open source web application framework. Unic framework is fast, minimal and unopinionated web framework inspired by express. Unic is simple and flexible and provide lots of features to create apis and web application quickly.
Features
- Fast and flexible.
- Extremely light weight.
- Minimal and unopinionated.
- Simple and robust routing.
- Robust middlewares.
Installation
Unic web framework is for PHP, so it's requires PHP 7.4 or newer. now you won’t need to setup anything just yet.
- Install
composerif you have not installed.
composer create-project unicframework/unic blog
It will create a blog project for you.
Simple Example
A simple Hello, World web application in unic framework.
use Unic\App; $app = new App(); $app->get('/', function($req, $res) { $res->send('Hello, World!'); }); $app->get('/api', function($req, $res) { $res->json([ 'status' => 'Ok', ]); }); $app->start();
Documentation
- Learn more about Unic from Documentation file.
- Documentation : https://unicframework.github.io/docs
License
统计信息
- 总下载量: 889
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-12
