About Limonade
Limonade is a PHP micro framework for rapid web development and prototyping.
It’s inspired by frameworks like Sinatra or Camping in Ruby, or Orbit in Lua. It aims to be simple, lightweight and extremly flexible.
As simple as that...
require_once 'vendors/limonade.php';
dispatch('/', 'hello');
function hello()
{
return 'Hello world!';
}
run();
Installation
- Download the lastest stable version
- copy the
lib
folder content in your project (probably in alib/
directory or invendors/
) - add
require_once vendors/limonade.php
(orrequire_once lib/limonade.php
) at the begining of your application main php file - read the README file, look at examples… and have fun!
Usage and documentation
- README (en - fr)
- Examples and tutorials
- Source code (finaly the best documentation)
Contributing
- Fork Limonade
- Work on the master branch or create a topic branch (
git checkout -b my_branch
) - Push to master branch or your branch (
git push origin my_branch
) - If necessary, create an issue with a link to your branch
- Or share your ideas on the discussion group!
Before pushing your code, please test it, or better,
write tests
(and check that everything works fine by running from the limonade
code/
directory: php -f tests/all.php
)