boxtal / php-library

4 stars 8 forks source link

Failing to install with Laravel 8 #7

Closed cscognamiglio closed 1 year ago

cscognamiglio commented 3 years ago

Hi,

Composer fails to install this library under laravel 8:

Illuminate\Foundation\ComposerScripts::postAutoloadDump Script Illuminate\Foundation\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[ErrorException]
Undefined index: REQUEST_URI

It looks like that config.php uses $_SERVER['REQUEST_URI'], the problem is that that index is not available on command line, but then even fixing the config.php I get tons of errors...

Is this library still developed? is there a way to fix this??