Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::middleware() in /var/www/html/api_kredigram/bootstrap/app.php:44
Stack trace:
#0 /var/www/html/api_kredigram/public/index.php(47): require_once()
#1 {main}
thrown in /var/www/html/api_kredigram/bootstrap/app.php on line 44