An open API service indexing awesome lists of open source software.

https://github.com/f/pinata

Sinatra-like PHP Framework
https://github.com/f/pinata

Last synced: about 1 month ago
JSON representation

Sinatra-like PHP Framework

Awesome Lists containing this project

README

          

Sinatra-like PHP framework.

\d+)', $a == 1 && $b == 1, function() {

before(function() {
echo 'start '.option('variable');
});

after(function() {
echo 'end';
});

assign('a', 1);
assign('c', 2);

display('x.phtml');

echo param('id');
echo route('/user/edit/234');

});

get('/user/edit/(?\d+)', function() {

error(404);

echo param('id');
});