Skip to content

noonat/pipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

         _        _          _          _           _        
        /\ \     /\ \       /\ \       /\ \        / /\      
       /  \ \    \ \ \     /  \ \     /  \ \      / /  \     
      / /\ \ \   /\ \_\   / /\ \ \   / /\ \ \    / / /\ \__  
     / / /\ \_\ / /\/_/  / / /\ \_\ / / /\ \_\  / / /\ \___\ 
    / / /_/ / // / /    / / /_/ / // /_/_ \/_/  \ \ \ \/___/ 
   / / /__\/ // / /    / / /__\/ // /____/\      \ \ \       
  / / /_____// / /    / / /_____// /\____\/  _    \ \ \      
 / / /   ___/ / /__  / / /      / / /______ /_/\__/ / /      
/ / /   /\__\/_/___\/ / /      / / /_______\\ \/___/ /       
\/_/    \/_________/\/_/       \/__________/ \_____\/        
  
pipes is a micro-framework for PHP 5.3, inspired by Sinatra. It uses
namespaces and anonymous functions to give you code that looks like:

    require 'pipes.php';
    
    pipes\get('/hi', function() {
        return "Hello, world!";
    });
    
    pipes\get('/hi/:name', function($params) {
        return "Hello, {$params->name}!";
    });
    
    pipes\run();

To use, just download and include the merged file:
https://github.com/noonat/pipes/raw/master/pipes.php

For documentation, see:
https://wiki.github.com/noonat/pipes/

For bugs, feature requests, and so on:
https://github.com/noonat/pipes/issues

About

Single file micro-framework for PHP 5.3, inspired by Sinatra.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published