mpociot/laravel-apidoc-generator

PHP 8 compatibility - Cannot use Match as identifier in RouteMatcher.php:39

vilhelmjosander opened this issue · 3 comments

Hi,

This package does not seem to work with PHP 8 since match is now a reserved keyword.

image

+1, php8

FYI, you can use my fork, which is both compatible with PHP 8 and Laravel 8: https://github.com/Timing-GmbH/laravel-apidoc-generator. The fix itself for compatibility with PHP 8 can be found at Timing-GmbH@0979fbb.

This package isn't maintained anymore, fyi. http://scribe.knuckles.wtf is its successor.