Hello i'm trying Flarum for the first time, i've been trying to start building my first extension but after i install it i get this error
flarum.ERROR: ParseError: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in C:\laragon\www\flarum\packages\edit-button\extend.php:12
i ran this command
flarum-cli init edit-button
said yes to almost everything
and then this one
composer require dev/edit-button *@dev
but i get this error when i activate it form the admin panel