Route Attributes
// site/routes/my-awesome-route.php
use PresProg\RouteAttributes\Attributes\Get;
return #[Get('/hello')] function () {
return '<h1>Hello world!</h1>';
};
Use PHP8 attributes to define metadata for your custom routes in separate files.
Related plugins
Plugin Loader
by Ahmet Bora
Template hooks
by Ahmet Bora
Illuminate Database
by Fernando GutiΓ©rrez
Env
by Fernando GutiΓ©rrez
DotEnv
by Bruno Meilick
Monolog
by Bruno Meilick
Plopfile
by Bruno Meilick
Redirects
by Bruno Meilick
Log
by Bart Vandeputte
Queue
by Bart Vandeputte
Virtual pages helper kit
by Bart Vandeputte

Ray
by Sam Serrien
Methods Folder
by hana+nils
Tracker
by hana+nils
Kirbylog
by Johann Schopplich

Logger
by Michael Scheurich
Tester
by Oblik Studio