Skip to content

robinmin/swale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swale

Swale is a tiny MVC framework for application server based on swoole extension.

Installation

Create a new file composer.json in your project folder with the following content.

{
    "require": {
        "php"                  : ">=5.4.0",
        "aura/sql"             : "dev-master",
        "aura/session"         : "dev-master",
        "guzzlehttp/guzzle"    : "4.1.*",
        "smarty/smarty"        : "3.1.*@dev",
        "ssdb/phpssdb"         : "dev-master",
        "robinmin/swale"       : "dev-master"
    }
}

Then run the following command to prepare project folder structure:

composer install --dev
cp -p vendor/robinmin/swale/*.php .
cp -rp vendor/robinmin/swale/apps ./apps
mkdir test

Now, you can start the default web server by:

php ./server.php

Change Log

Date Content
2015-02-10 Add unit test support
2015-02-26 Add authentication with simple acl

Planned Feature

  • Asynchonized file log

About

Swale is a tiny MVC framework for application server based on swoole extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published