Skip to content
@unicframework

Unic Framework

Unic is a high performance, open source web framework

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.

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

Popular repositories Loading

  1. unic unic Public

    Unic is a high performance, open source web framework

    PHP 14 4

  2. docs docs Public

    Unic is a high performance, open source web framework

    7

  3. csv-parser csv-parser Public

    CSVParser library parse csv data to array, object, and json format. CSVParser convert array, object, json to csv format.

    PHP 4

  4. validator validator Public

    Validator is a server side data validation library for PHP. Validate html form-data, objects, arrays and json etc.

    PHP 2

  5. framework framework Public

    Unic is a high performance, open source web framework

    PHP 1

  6. user-agent user-agent Public

    User agent library parse client browsers all data from request.

    PHP

Repositories

Showing 7 of 7 repositories
  • docs Public

    Unic is a high performance, open source web framework

    unicframework/docs’s past year of commit activity
    7 MIT 0 0 0 Updated Feb 12, 2023
  • framework Public

    Unic is a high performance, open source web framework

    unicframework/framework’s past year of commit activity
    PHP 1 MIT 0 0 0 Updated Jan 31, 2023
  • unic Public

    Unic is a high performance, open source web framework

    unicframework/unic’s past year of commit activity
    PHP 14 MIT 4 0 0 Updated Jan 29, 2023
  • .github Public
    unicframework/.github’s past year of commit activity
    0 0 0 0 Updated Jan 28, 2023
  • validator Public

    Validator is a server side data validation library for PHP. Validate html form-data, objects, arrays and json etc.

    unicframework/validator’s past year of commit activity
    PHP 2 MIT 0 0 0 Updated Dec 19, 2022
  • csv-parser Public

    CSVParser library parse csv data to array, object, and json format. CSVParser convert array, object, json to csv format.

    unicframework/csv-parser’s past year of commit activity
    PHP 4 MIT 0 0 0 Updated May 15, 2021
  • user-agent Public

    User agent library parse client browsers all data from request.

    unicframework/user-agent’s past year of commit activity
    PHP 0 MIT 0 0 0 Updated May 15, 2021

Top languages

Loading…

Most used topics

Loading…