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
- Host: GitHub
- URL: https://github.com/f/pinata
- Owner: f
- Created: 2011-04-12T00:12:44.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-05-05T20:14:30.000Z (about 15 years ago)
- Last Synced: 2025-02-28T22:41:28.486Z (over 1 year ago)
- Language: PHP
- Size: 89.8 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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');
});