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
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
CLI
by Kirby Team
Methods Folder
by hana+nils
Tracker
by hana+nils
Kirbylog
by Johann Schopplich

Logger
by Michael Scheurich
Maintenance Mode
by Moritz Ebeling

MarkdownPlus
by Dieter Stokar
Migrations
by Markus Denhoff

Sentry
by Markus Denhoff