leocavalcante/siler
Siler is a zero-dependency PHP library/micro-framework of high-level functional abstractions for declarative apps and routing. Fast, flat-file friendly, and works well with Swoole. Note: the repository is archived; Nano is recommended as an alternative.
Simplicity is the ultimate sophistication. – Leonardo Da Vinci
You can use it within any framework or standalone, as a micro-framework:
composer require leocavalcante/siler
use Siler\Functional as λ; // Just to be cool, don't use non-ASCII identifiers ;)
use Siler\Route;
Route\get('/', λ\puts('Hello World'));
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?
How can I help you explore Laravel packages today?