Skip to content

Latest commit

 

History

68 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Unic Framework

Unic Logo

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 composer if 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

License

MIT License

关于

Unic is a high performance, open source web framework

Topics

Resources

Stars

0 stars

关注者

1 watching

复刻s

发布

Used by

贡献者

Languages