i expect the middleware to be registered as described in the readme
Tell us what should happen
Actual behaviour
middleware not recognise
Server configuration
Operating system:
*Web server:apache*
*Database:php*
*PHP version:7.2*
Client configuration
*Browser:chrome*
*Operating system:windows*
Logs
Web server error log
Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::middleware() in C:\Users\SOLARSOFT\PhpstormProjects\lifetv\bootstrap\app.php:44
Stack trace:
#0 C:\Users\#####\PhpstormProjects\###\artisan(20): require_once()
#1 {main}
thrown in C:\Users\#########\PhpstormProjects\####\bootstrap\app.php on line 44
Instead of adding middleware to bootstrap/app.php, have you tried adding EllipseSynergie\ApiResponse\Laravel\ResponseServiceProvider::class, to the array of providers in your config/app.php file?
Steps to reproduce
Expected behaviour
i expect the middleware to be registered as described in the readme
Tell us what should happen
Actual behaviour
middleware not recognise
Server configuration
Operating system:
*Web server:apache*
*Database:php*
*PHP version:7.2*
Client configuration
*Browser:chrome*
*Operating system:windows*
Logs
Web server error log