Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Latest commit

 

History

History
66 lines (39 loc) · 1.28 KB

README.md

File metadata and controls

66 lines (39 loc) · 1.28 KB

Cloudlib

Cloudlib is a simple router framework for rapid web development.

Cloudlib conforms to the PSR-0 standard which makes it easy to use external libraries.

Cloudlib matches route patterns to anonymous functions (Closures) or namespaced classes (because of this you are able to, for example, simulate the MVC design pattern).

note Since Cloudlib uses the same syntax as all other micro/lightweight/mini - frameworks it is easy to learn and understand.

Installation

Github

Download from github

Git

$ git clone git@github.com:trumtomte/cloudlib.git

Composer

To get the latest version

{
    "require": {
        "cloudlib/core": "dev-master"
    }
}

Apache

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Requirements

Cloudlib requires PHP >= 5.3.6

Examples

under construction...

<?php

Versioning

Versioned with Semantic Versioning

License

Licensed under the MIT license.