Unic
Unic is a high performance, open source web framework
Install / Use
/learn @unicframework/UnicREADME
Unic Framework
<p align="center"> <img src="https://github.com/unicframework/docs/blob/main/unic-logo.jpg" width="400px" alt="Unic Logo"> </p>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
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
