We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use in composer. json
"slim/slim": "~3.12.0", "slim/extras": "~2.0.0",
catch error
PHP Fatal error: Class 'Slim\\Middleware' not found in /opt/slim-app/vendor/slim/extras/Slim/Extras/Middleware/HttpBasicAuth.php on line 40 PHP Stack trace: PHP 1. {main}() /opt/slim-app/public/index.php:0 PHP 2. require() /opt/slim-app/public/index.php:29 PHP 3. spl_autoload_call() /opt/slim-app/configs/middlewares.php:3 PHP 4. Composer\\Autoload\\ClassLoader->loadClass() /opt/slim-app/configs/middlewares.php:3 PHP 5. Composer\\Autoload\\includeFile() /opt/slim-app/vendor/composer/ClassLoader.php:322 PHP 6. include() /opt/slim-app/vendor/composer/ClassLoader.php:444
Possibly add missing dependency or restriction to package slim/extras in composer.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use in composer. json
catch error
Possibly add missing dependency or restriction to package slim/extras in composer.json
The text was updated successfully, but these errors were encountered: