Siler
Search…
Siler
Simplicity is the ultimate sophistication. – Leonardo Da Vinci
You can use it within any framework or standalone, as a micro-framework:
1
composer require leocavalcante/siler
Copied!

A Hello World example

1
use Siler\Functional as λ; // Just to be cool, don't use non-ASCII identifiers ;)
2
use Siler\Route;
3
4
Route\get('/', λ\puts('Hello World'));
Copied!
This outputs "Hello World" when the file is reached via HTTP using the GET method and an URI path that matches "/". Got the idea, right?
Last modified 1yr ago
Copy link